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

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: 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 513 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 // This method is public because UnpackedInstaller and InstalledLoader 524 // This method is public because UnpackedInstaller and InstalledLoader
525 // can post to here. 525 // can post to here.
526 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency 526 // TODO(aa): Remove this. It doesn't do enough to be worth the dependency
527 // of these classes on ExtensionService. 527 // of these classes on ExtensionService.
528 void ReportExtensionLoadError(const FilePath& extension_path, 528 void ReportExtensionLoadError(const FilePath& extension_path,
529 const std::string& error, 529 const std::string& error,
530 bool be_noisy); 530 bool be_noisy);
531 531
532 // ExtensionHost of background page calls this method right after its render 532 // ExtensionHost of background page calls this method right after its render
533 // view has been created. 533 // view has been created.
534 void DidCreateRenderViewForBackgroundPage(ExtensionHost* host); 534 void DidCreateRenderViewForBackgroundPage(extensions::ExtensionHost* host);
535 535
536 // For the extension in |version_path| with |id|, check to see if it's an 536 // For the extension in |version_path| with |id|, check to see if it's an
537 // externally managed extension. If so, uninstall it. 537 // externally managed extension. If so, uninstall it.
538 void CheckExternalUninstall(const std::string& id); 538 void CheckExternalUninstall(const std::string& id);
539 539
540 // Clear all ExternalProviders. 540 // Clear all ExternalProviders.
541 void ClearProvidersForTesting(); 541 void ClearProvidersForTesting();
542 542
543 // Adds an ExternalProviderInterface for the service to use during testing. 543 // Adds an ExternalProviderInterface for the service to use during testing.
544 // Takes ownership of |test_provider|. 544 // Takes ownership of |test_provider|.
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
858 scoped_ptr<ExtensionErrorUI> extension_error_ui_; 858 scoped_ptr<ExtensionErrorUI> extension_error_ui_;
859 859
860 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 860 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
861 InstallAppsWithUnlimtedStorage); 861 InstallAppsWithUnlimtedStorage);
862 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 862 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
863 InstallAppsAndCheckStorageProtection); 863 InstallAppsAndCheckStorageProtection);
864 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 864 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
865 }; 865 };
866 866
867 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 867 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698