Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1156)

Side by Side Diff: chrome/browser/pdf/pdf_extension_util.h

Issue 946293002: Correctly whitelist the PDF plugin in the PDF extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_PDF_PDF_EXTENSION_UTIL_H_ 5 #ifndef CHROME_BROWSER_PDF_PDF_EXTENSION_UTIL_H_
6 #define CHROME_BROWSER_PDF_PDF_EXTENSION_UTIL_H_ 6 #define CHROME_BROWSER_PDF_PDF_EXTENSION_UTIL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace pdf_extension_util { 10 namespace pdf_extension_util {
11 11
12 // The ResourceIdentifier for the PDF Viewer plugin.
13 extern const char kPdfResourceIdentifier[];
14
12 // Return the extensions manifest for PDF. The manifest is loaded from 15 // Return the extensions manifest for PDF. The manifest is loaded from
13 // browser_resources.grd and certain fields are replaced based on what chrome 16 // browser_resources.grd and certain fields are replaced based on what chrome
14 // flags are enabled. 17 // flags are enabled.
15 std::string GetManifest(); 18 std::string GetManifest();
16 19
17 } // namespace pdf_extension_util 20 } // namespace pdf_extension_util
18 21
19 #endif // CHROME_BROWSER_PDF_PDF_EXTENSION_UTIL_H_ 22 #endif // CHROME_BROWSER_PDF_PDF_EXTENSION_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698