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

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

Issue 145663004: Replace "bluetooth" permission with manifest property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unused function. Created 6 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 (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/bluetooth/bluetooth_manifest_handler.h"
7 #include "chrome/common/extensions/api/commands/commands_handler.h" 8 #include "chrome/common/extensions/api/commands/commands_handler.h"
8 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h " 9 #include "chrome/common/extensions/api/extension_action/browser_action_handler.h "
9 #include "chrome/common/extensions/api/extension_action/page_action_handler.h" 10 #include "chrome/common/extensions/api/extension_action/page_action_handler.h"
10 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle r.h" 11 #include "chrome/common/extensions/api/file_browser_handlers/file_browser_handle r.h"
11 #include "chrome/common/extensions/api/file_handlers/file_handlers_parser.h" 12 #include "chrome/common/extensions/api/file_handlers/file_handlers_parser.h"
12 #include "chrome/common/extensions/api/i18n/default_locale_handler.h" 13 #include "chrome/common/extensions/api/i18n/default_locale_handler.h"
13 #include "chrome/common/extensions/api/identity/oauth2_manifest_handler.h" 14 #include "chrome/common/extensions/api/identity/oauth2_manifest_handler.h"
14 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h " 15 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h "
15 #if defined(OS_CHROMEOS) 16 #if defined(OS_CHROMEOS)
16 #include "chrome/common/extensions/api/input_ime/input_components_handler.h" 17 #include "chrome/common/extensions/api/input_ime/input_components_handler.h"
(...skipping 20 matching lines...) Expand all
37 #include "chrome/common/extensions/mime_types_handler.h" 38 #include "chrome/common/extensions/mime_types_handler.h"
38 #include "extensions/common/manifest_handlers/requirements_info.h" 39 #include "extensions/common/manifest_handlers/requirements_info.h"
39 40
40 namespace extensions { 41 namespace extensions {
41 42
42 void RegisterChromeManifestHandlers() { 43 void RegisterChromeManifestHandlers() {
43 DCHECK(!ManifestHandler::IsRegistrationFinalized()); 44 DCHECK(!ManifestHandler::IsRegistrationFinalized());
44 #if defined(ENABLE_EXTENSIONS) 45 #if defined(ENABLE_EXTENSIONS)
45 (new AppIsolationHandler)->Register(); 46 (new AppIsolationHandler)->Register();
46 (new AppLaunchManifestHandler)->Register(); 47 (new AppLaunchManifestHandler)->Register();
48 (new BluetoothManifestHandler)->Register();
47 (new BrowserActionHandler)->Register(); 49 (new BrowserActionHandler)->Register();
48 (new CommandsHandler)->Register(); 50 (new CommandsHandler)->Register();
49 (new ContentScriptsHandler)->Register(); 51 (new ContentScriptsHandler)->Register();
50 (new DefaultLocaleHandler)->Register(); 52 (new DefaultLocaleHandler)->Register();
51 (new DevToolsPageHandler)->Register(); 53 (new DevToolsPageHandler)->Register();
52 (new ExternallyConnectableHandler)->Register(); 54 (new ExternallyConnectableHandler)->Register();
53 (new FileBrowserHandlerParser)->Register(); 55 (new FileBrowserHandlerParser)->Register();
54 (new FileHandlersParser)->Register(); 56 (new FileHandlersParser)->Register();
55 (new HomepageURLHandler)->Register(); 57 (new HomepageURLHandler)->Register();
56 (new IconsHandler)->Register(); 58 (new IconsHandler)->Register();
(...skipping 18 matching lines...) Expand all
75 (new SystemIndicatorHandler)->Register(); 77 (new SystemIndicatorHandler)->Register();
76 (new ThemeHandler)->Register(); 78 (new ThemeHandler)->Register();
77 (new TtsEngineManifestHandler)->Register(); 79 (new TtsEngineManifestHandler)->Register();
78 (new UpdateURLHandler)->Register(); 80 (new UpdateURLHandler)->Register();
79 (new UrlHandlersParser)->Register(); 81 (new UrlHandlersParser)->Register();
80 (new URLOverridesHandler)->Register(); 82 (new URLOverridesHandler)->Register();
81 #endif 83 #endif
82 } 84 }
83 85
84 } // namespace extensions 86 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/sockets/sockets_manifest_permission.cc ('k') | chrome/common/extensions/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698