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

Side by Side Diff: chrome/browser/extensions/extension_service.h

Issue 9822001: Basic infrastructure for the Bluetooth API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix non-chromeos builds Created 8 years, 9 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 | Annotate | Revision Log
OLDNEW
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_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 class ExtensionToolbarModel; 60 class ExtensionToolbarModel;
61 class ExtensionWebNavigationEventRouter; 61 class ExtensionWebNavigationEventRouter;
62 class HistoryExtensionEventRouter; 62 class HistoryExtensionEventRouter;
63 class GURL; 63 class GURL;
64 class PendingExtensionManager; 64 class PendingExtensionManager;
65 class Profile; 65 class Profile;
66 class SyncData; 66 class SyncData;
67 class Version; 67 class Version;
68 68
69 namespace chromeos { 69 namespace chromeos {
70 class ExtensionBluetoothEventRouter;
70 class ExtensionInputMethodEventRouter; 71 class ExtensionInputMethodEventRouter;
71 } 72 }
72 73
73 namespace extensions { 74 namespace extensions {
74 class APIResourceController; 75 class APIResourceController;
75 class ComponentLoader; 76 class ComponentLoader;
76 class ExtensionUpdater; 77 class ExtensionUpdater;
77 class RulesRegistryService; 78 class RulesRegistryService;
78 class SettingsFrontend; 79 class SettingsFrontend;
79 } 80 }
(...skipping 384 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 465
465 AppNotificationManager* app_notification_manager() { 466 AppNotificationManager* app_notification_manager() {
466 return app_notification_manager_.get(); 467 return app_notification_manager_.get();
467 } 468 }
468 469
469 ExtensionBrowserEventRouter* browser_event_router() { 470 ExtensionBrowserEventRouter* browser_event_router() {
470 return browser_event_router_.get(); 471 return browser_event_router_.get();
471 } 472 }
472 473
473 #if defined(OS_CHROMEOS) 474 #if defined(OS_CHROMEOS)
475 chromeos::ExtensionBluetoothEventRouter* bluetooth_event_router() {
476 return bluetooth_event_router_.get();
477 }
474 chromeos::ExtensionInputMethodEventRouter* input_method_event_router() { 478 chromeos::ExtensionInputMethodEventRouter* input_method_event_router() {
475 return input_method_event_router_.get(); 479 return input_method_event_router_.get();
476 } 480 }
477 #endif 481 #endif
478 482
479 // Notify the frontend that there was an error loading an extension. 483 // Notify the frontend that there was an error loading an extension.
480 // This method is public because UnpackedInstaller and InstalledLoader 484 // This method is public because UnpackedInstaller and InstalledLoader
481 // can post to here. 485 // can post to here.
482 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency 486 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency
483 // of these classes on ExtensionService. 487 // of these classes on ExtensionService.
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 798
795 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; 799 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_;
796 800
797 scoped_ptr<ExtensionCookiesEventRouter> cookies_event_router_; 801 scoped_ptr<ExtensionCookiesEventRouter> cookies_event_router_;
798 802
799 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; 803 scoped_ptr<ExtensionManagementEventRouter> management_event_router_;
800 804
801 scoped_ptr<ExtensionWebNavigationEventRouter> web_navigation_event_router_; 805 scoped_ptr<ExtensionWebNavigationEventRouter> web_navigation_event_router_;
802 806
803 #if defined(OS_CHROMEOS) 807 #if defined(OS_CHROMEOS)
808 scoped_ptr<chromeos::ExtensionBluetoothEventRouter> bluetooth_event_router_;
804 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> 809 scoped_ptr<chromeos::ExtensionInputMethodEventRouter>
805 input_method_event_router_; 810 input_method_event_router_;
806 #endif 811 #endif
807 812
808 scoped_ptr<extensions::RulesRegistryService> rules_registry_service_; 813 scoped_ptr<extensions::RulesRegistryService> rules_registry_service_;
809 814
810 // A collection of external extension providers. Each provider reads 815 // A collection of external extension providers. Each provider reads
811 // a source of external extension information. Examples include the 816 // a source of external extension information. Examples include the
812 // windows registry and external_extensions.json. 817 // windows registry and external_extensions.json.
813 ProviderCollection external_extension_providers_; 818 ProviderCollection external_extension_providers_;
(...skipping 22 matching lines...) Expand all
836 scoped_ptr<ExtensionGlobalError> extension_global_error_; 841 scoped_ptr<ExtensionGlobalError> extension_global_error_;
837 842
838 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 843 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
839 InstallAppsWithUnlimtedStorage); 844 InstallAppsWithUnlimtedStorage);
840 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 845 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
841 InstallAppsAndCheckStorageProtection); 846 InstallAppsAndCheckStorageProtection);
842 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 847 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
843 }; 848 };
844 849
845 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 850 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698