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

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

Issue 10824030: Move ExtensionHost into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Latest master for cq Created 8 years, 4 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) 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 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 // This method is public because UnpackedInstaller and InstalledLoader 520 // This method is public because UnpackedInstaller and InstalledLoader
521 // can post to here. 521 // can post to here.
522 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency 522 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency
523 // of these classes on ExtensionService. 523 // of these classes on ExtensionService.
524 void ReportExtensionLoadError(const FilePath& extension_path, 524 void ReportExtensionLoadError(const FilePath& extension_path,
525 const std::string& error, 525 const std::string& error,
526 bool be_noisy); 526 bool be_noisy);
527 527
528 // ExtensionHost of background page calls this method right after its render 528 // ExtensionHost of background page calls this method right after its render
529 // view has been created. 529 // view has been created.
530 void DidCreateRenderViewForBackgroundPage(ExtensionHost* host); 530 void DidCreateRenderViewForBackgroundPage(extensions::ExtensionHost* host);
531 531
532 // For the extension in |version_path| with |id|, check to see if it's an 532 // For the extension in |version_path| with |id|, check to see if it's an
533 // externally managed extension. If so, uninstall it. 533 // externally managed extension. If so, uninstall it.
534 void CheckExternalUninstall(const std::string& id); 534 void CheckExternalUninstall(const std::string& id);
535 535
536 // Clear all ExternalProviders. 536 // Clear all ExternalProviders.
537 void ClearProvidersForTesting(); 537 void ClearProvidersForTesting();
538 538
539 // Adds an ExternalProviderInterface for the service to use during testing. 539 // Adds an ExternalProviderInterface for the service to use during testing.
540 // Takes ownership of |test_provider|. 540 // Takes ownership of |test_provider|.
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 scoped_ptr<ExtensionErrorUI> extension_error_ui_; 854 scoped_ptr<ExtensionErrorUI> extension_error_ui_;
855 855
856 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 856 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
857 InstallAppsWithUnlimtedStorage); 857 InstallAppsWithUnlimtedStorage);
858 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 858 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
859 InstallAppsAndCheckStorageProtection); 859 InstallAppsAndCheckStorageProtection);
860 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 860 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
861 }; 861 };
862 862
863 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 863 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_process_manager.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698