Use the same PDF plugin name as official Chrome

This commit is contained in:
Marshall Greenblatt
2016-08-24 16:25:11 +03:00
parent 3b5fb0d526
commit b89329b0fa
2 changed files with 5 additions and 2 deletions

View File

@@ -26,7 +26,10 @@ const char kPdfResourceIdentifier[] = "google-chrome-pdf";
const char kPdfResourceIdentifier[] = "chromium-pdf";
#endif
const char kPdfPluginName[] = "Chromium PDF Viewer";
// Match the GOOGLE_CHROME_BUILD value from ChromeContentClient::kPDFPluginName
// to avoid breaking Websites that specifically look for this string in the
// plugin list.
const char kPdfPluginName[] = "Chrome PDF Viewer";
std::string GetManifest() {
std::string manifest_contents =