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

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

Issue 9719012: Revert 127317 - Implemented API for tracking ongoing file transfers from file manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "content/public/browser/notification_observer.h" 46 #include "content/public/browser/notification_observer.h"
47 #include "content/public/browser/notification_registrar.h" 47 #include "content/public/browser/notification_registrar.h"
48 48
49 class AppNotificationManager; 49 class AppNotificationManager;
50 class BookmarkExtensionEventRouter; 50 class BookmarkExtensionEventRouter;
51 class CrxInstaller; 51 class CrxInstaller;
52 class ExtensionBrowserEventRouter; 52 class ExtensionBrowserEventRouter;
53 class ExtensionContentSettingsStore; 53 class ExtensionContentSettingsStore;
54 class ExtensionCookiesEventRouter; 54 class ExtensionCookiesEventRouter;
55 class ExtensionDownloadsEventRouter; 55 class ExtensionDownloadsEventRouter;
56 class ExtensionFileBrowserEventRouter;
56 class ExtensionGlobalError; 57 class ExtensionGlobalError;
57 class ExtensionManagementEventRouter; 58 class ExtensionManagementEventRouter;
58 class ExtensionPreferenceEventRouter; 59 class ExtensionPreferenceEventRouter;
59 class ExtensionSyncData; 60 class ExtensionSyncData;
60 class ExtensionToolbarModel; 61 class ExtensionToolbarModel;
61 class ExtensionWebNavigationEventRouter; 62 class ExtensionWebNavigationEventRouter;
62 class HistoryExtensionEventRouter; 63 class HistoryExtensionEventRouter;
63 class GURL; 64 class GURL;
64 class PendingExtensionManager; 65 class PendingExtensionManager;
65 class Profile; 66 class Profile;
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 470
470 AppNotificationManager* app_notification_manager() { 471 AppNotificationManager* app_notification_manager() {
471 return app_notification_manager_.get(); 472 return app_notification_manager_.get();
472 } 473 }
473 474
474 ExtensionBrowserEventRouter* browser_event_router() { 475 ExtensionBrowserEventRouter* browser_event_router() {
475 return browser_event_router_.get(); 476 return browser_event_router_.get();
476 } 477 }
477 478
478 #if defined(OS_CHROMEOS) 479 #if defined(OS_CHROMEOS)
480 ExtensionFileBrowserEventRouter* file_browser_event_router() {
481 return file_browser_event_router_.get();
482 }
479 chromeos::ExtensionInputMethodEventRouter* input_method_event_router() { 483 chromeos::ExtensionInputMethodEventRouter* input_method_event_router() {
480 return input_method_event_router_.get(); 484 return input_method_event_router_.get();
481 } 485 }
482 #endif 486 #endif
483 487
484 // Notify the frontend that there was an error loading an extension. 488 // Notify the frontend that there was an error loading an extension.
485 // This method is public because UnpackedInstaller and InstalledLoader 489 // This method is public because UnpackedInstaller and InstalledLoader
486 // can post to here. 490 // can post to here.
487 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency 491 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency
488 // of these classes on ExtensionService. 492 // of these classes on ExtensionService.
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 807
804 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_; 808 scoped_ptr<BookmarkExtensionEventRouter> bookmark_event_router_;
805 809
806 scoped_ptr<ExtensionCookiesEventRouter> cookies_event_router_; 810 scoped_ptr<ExtensionCookiesEventRouter> cookies_event_router_;
807 811
808 scoped_ptr<ExtensionManagementEventRouter> management_event_router_; 812 scoped_ptr<ExtensionManagementEventRouter> management_event_router_;
809 813
810 scoped_ptr<ExtensionWebNavigationEventRouter> web_navigation_event_router_; 814 scoped_ptr<ExtensionWebNavigationEventRouter> web_navigation_event_router_;
811 815
812 #if defined(OS_CHROMEOS) 816 #if defined(OS_CHROMEOS)
817 scoped_ptr<ExtensionFileBrowserEventRouter> file_browser_event_router_;
813 scoped_ptr<chromeos::ExtensionInputMethodEventRouter> 818 scoped_ptr<chromeos::ExtensionInputMethodEventRouter>
814 input_method_event_router_; 819 input_method_event_router_;
815 #endif 820 #endif
816 821
817 scoped_ptr<extensions::RulesRegistryService> rules_registry_service_; 822 scoped_ptr<extensions::RulesRegistryService> rules_registry_service_;
818 823
819 // A collection of external extension providers. Each provider reads 824 // A collection of external extension providers. Each provider reads
820 // a source of external extension information. Examples include the 825 // a source of external extension information. Examples include the
821 // windows registry and external_extensions.json. 826 // windows registry and external_extensions.json.
822 ProviderCollection external_extension_providers_; 827 ProviderCollection external_extension_providers_;
(...skipping 22 matching lines...) Expand all
845 scoped_ptr<ExtensionGlobalError> extension_global_error_; 850 scoped_ptr<ExtensionGlobalError> extension_global_error_;
846 851
847 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 852 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
848 InstallAppsWithUnlimtedStorage); 853 InstallAppsWithUnlimtedStorage);
849 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 854 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
850 InstallAppsAndCheckStorageProtection); 855 InstallAppsAndCheckStorageProtection);
851 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 856 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
852 }; 857 };
853 858
854 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 859 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_event_names.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698