| OLD | NEW |
| 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_ |
| OLD | NEW |