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

Side by Side Diff: chrome/common/extensions/chrome_manifest_handlers.cc

Issue 719243002: Move default_locale manifest handler out of //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/common/extensions/chrome_manifest_handlers.h" 5 #include "chrome/common/extensions/chrome_manifest_handlers.h"
6 6
7 #include "chrome/common/extensions/api/commands/commands_handler.h" 7 #include "chrome/common/extensions/api/commands/commands_handler.h"
8 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle r.h" 8 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle r.h"
9 #include "chrome/common/extensions/api/i18n/default_locale_handler.h"
10 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h " 9 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h "
11 #if defined(OS_CHROMEOS) 10 #if defined(OS_CHROMEOS)
12 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" 11 #include "chrome/common/extensions/api/input_ime/input_components_handler.h"
13 #endif 12 #endif
14 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h" 13 #include "chrome/common/extensions/api/omnibox/omnibox_handler.h"
15 #include "chrome/common/extensions/api/plugins/plugins_handler.h" 14 #include "chrome/common/extensions/api/plugins/plugins_handler.h"
16 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h" 15 #include "chrome/common/extensions/api/speech/tts_engine_manifest_handler.h"
17 #include "chrome/common/extensions/api/spellcheck/spellcheck_handler.h" 16 #include "chrome/common/extensions/api/spellcheck/spellcheck_handler.h"
18 #include "chrome/common/extensions/api/supervised_user_private/supervised_user_h andler.h" 17 #include "chrome/common/extensions/api/supervised_user_private/supervised_user_h andler.h"
19 #include "chrome/common/extensions/api/system_indicator/system_indicator_handler .h" 18 #include "chrome/common/extensions/api/system_indicator/system_indicator_handler .h"
(...skipping 16 matching lines...) Expand all
36 namespace extensions { 35 namespace extensions {
37 36
38 void RegisterChromeManifestHandlers() { 37 void RegisterChromeManifestHandlers() {
39 DCHECK(!ManifestHandler::IsRegistrationFinalized()); 38 DCHECK(!ManifestHandler::IsRegistrationFinalized());
40 (new AboutPageHandler)->Register(); 39 (new AboutPageHandler)->Register();
41 (new AppIsolationHandler)->Register(); 40 (new AppIsolationHandler)->Register();
42 (new AppLaunchManifestHandler)->Register(); 41 (new AppLaunchManifestHandler)->Register();
43 (new AutomationHandler)->Register(); 42 (new AutomationHandler)->Register();
44 (new CommandsHandler)->Register(); 43 (new CommandsHandler)->Register();
45 (new ContentScriptsHandler)->Register(); 44 (new ContentScriptsHandler)->Register();
46 (new DefaultLocaleHandler)->Register();
47 (new DevToolsPageHandler)->Register(); 45 (new DevToolsPageHandler)->Register();
48 (new ExtensionActionHandler)->Register(); 46 (new ExtensionActionHandler)->Register();
49 (new FileBrowserHandlerParser)->Register(); 47 (new FileBrowserHandlerParser)->Register();
50 (new HomepageURLHandler)->Register(); 48 (new HomepageURLHandler)->Register();
51 #if defined(OS_CHROMEOS) 49 #if defined(OS_CHROMEOS)
52 (new InputComponentsHandler)->Register(); 50 (new InputComponentsHandler)->Register();
53 #endif 51 #endif
54 (new MimeTypesHandlerParser)->Register(); 52 (new MimeTypesHandlerParser)->Register();
55 (new MinimumChromeVersionChecker)->Register(); 53 (new MinimumChromeVersionChecker)->Register();
56 (new OmniboxHandler)->Register(); 54 (new OmniboxHandler)->Register();
57 (new OptionsPageManifestHandler)->Register(); 55 (new OptionsPageManifestHandler)->Register();
58 (new PluginsHandler)->Register(); 56 (new PluginsHandler)->Register();
59 (new RequirementsHandler)->Register(); // Depends on plugins. 57 (new RequirementsHandler)->Register(); // Depends on plugins.
60 (new SettingsOverridesHandler)->Register(); 58 (new SettingsOverridesHandler)->Register();
61 (new SpellcheckHandler)->Register(); 59 (new SpellcheckHandler)->Register();
62 (new StorageSchemaManifestHandler)->Register(); 60 (new StorageSchemaManifestHandler)->Register();
63 (new SupervisedUserHandler)->Register(); 61 (new SupervisedUserHandler)->Register();
64 (new SystemIndicatorHandler)->Register(); 62 (new SystemIndicatorHandler)->Register();
65 (new ThemeHandler)->Register(); 63 (new ThemeHandler)->Register();
66 (new TtsEngineManifestHandler)->Register(); 64 (new TtsEngineManifestHandler)->Register();
67 (new UIOverridesHandler)->Register(); 65 (new UIOverridesHandler)->Register();
68 (new UpdateURLHandler)->Register(); 66 (new UpdateURLHandler)->Register();
69 (new UrlHandlersParser)->Register(); 67 (new UrlHandlersParser)->Register();
70 (new URLOverridesHandler)->Register(); 68 (new URLOverridesHandler)->Register();
71 } 69 }
72 70
73 } // namespace extensions 71 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698