| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_COMMON_EXTENSIONS_CHROME_MANIFEST_URL_HANDLERS_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_CHROME_MANIFEST_URL_HANDLERS_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_CHROME_MANIFEST_URL_HANDLERS_H_ | 6 #define CHROME_COMMON_EXTENSIONS_CHROME_MANIFEST_URL_HANDLERS_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "extensions/common/extension.h" | 11 #include "extensions/common/extension.h" |
| 12 #include "extensions/common/manifest_handler.h" | 12 #include "extensions/common/manifest_handler.h" |
| 13 | 13 |
| 14 // Chrome-specific extension manifest URL handlers. | 14 // Chrome-specific extension manifest URL handlers. |
| 15 | 15 |
| 16 namespace base { | |
| 17 class DictionaryValue; | |
| 18 } | |
| 19 | |
| 20 namespace extensions { | 16 namespace extensions { |
| 21 | 17 |
| 22 namespace chrome_manifest_urls { | 18 namespace chrome_manifest_urls { |
| 23 const GURL& GetDevToolsPage(const Extension* extension); | 19 const GURL& GetDevToolsPage(const Extension* extension); |
| 24 } | 20 } |
| 25 | 21 |
| 26 // Stores Chrome URL overrides specified in extensions manifests. | 22 // Stores Chrome URL overrides specified in extensions manifests. |
| 27 struct URLOverrides : public Extension::ManifestData { | 23 struct URLOverrides : public Extension::ManifestData { |
| 28 typedef std::map<const std::string, GURL> URLOverrideMap; | 24 typedef std::map<const std::string, GURL> URLOverrideMap; |
| 29 | 25 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 | 61 |
| 66 private: | 62 private: |
| 67 const std::vector<std::string> Keys() const override; | 63 const std::vector<std::string> Keys() const override; |
| 68 | 64 |
| 69 DISALLOW_COPY_AND_ASSIGN(URLOverridesHandler); | 65 DISALLOW_COPY_AND_ASSIGN(URLOverridesHandler); |
| 70 }; | 66 }; |
| 71 | 67 |
| 72 } // namespace extensions | 68 } // namespace extensions |
| 73 | 69 |
| 74 #endif // CHROME_COMMON_EXTENSIONS_CHROME_MANIFEST_URL_HANDLERS_H_ | 70 #endif // CHROME_COMMON_EXTENSIONS_CHROME_MANIFEST_URL_HANDLERS_H_ |
| OLD | NEW |