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

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

Issue 23591050: Delete the omahaproxy-backed extension blacklist and clear its entries from the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix memory leak in blacklist test Created 7 years, 2 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 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 // that have been orphaned by an uninstall. 792 // that have been orphaned by an uninstall.
793 void GarbageCollectIsolatedStorage(); 793 void GarbageCollectIsolatedStorage();
794 void OnGarbageCollectIsolatedStorageFinished(); 794 void OnGarbageCollectIsolatedStorageFinished();
795 void OnNeedsToGarbageCollectIsolatedStorage(); 795 void OnNeedsToGarbageCollectIsolatedStorage();
796 796
797 // extensions::Blacklist::Observer implementation. 797 // extensions::Blacklist::Observer implementation.
798 virtual void OnBlacklistUpdated() OVERRIDE; 798 virtual void OnBlacklistUpdated() OVERRIDE;
799 799
800 // Manages the blacklisted extensions, intended as callback from 800 // Manages the blacklisted extensions, intended as callback from
801 // Blacklist::GetBlacklistedIDs. 801 // Blacklist::GetBlacklistedIDs.
802 void ManageBlacklist(const std::set<std::string>& old_blacklisted_ids, 802 void ManageBlacklist(const std::set<std::string>& blacklisted_ids);
803 const std::set<std::string>& new_blacklisted_ids);
804 803
805 // Controls if installs are delayed. See comment for 804 // Controls if installs are delayed. See comment for
806 // |installs_delayed_for_gc_|. 805 // |installs_delayed_for_gc_|.
807 void set_installs_delayed_for_gc(bool value) { 806 void set_installs_delayed_for_gc(bool value) {
808 installs_delayed_for_gc_ = value; 807 installs_delayed_for_gc_ = value;
809 } 808 }
810 bool installs_delayed_for_gc() const { return installs_delayed_for_gc_; } 809 bool installs_delayed_for_gc() const { return installs_delayed_for_gc_; }
811 810
812 // The normal profile associated with this ExtensionService. 811 // The normal profile associated with this ExtensionService.
813 Profile* profile_; 812 Profile* profile_;
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
962 #endif 961 #endif
963 962
964 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 963 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
965 InstallAppsWithUnlimtedStorage); 964 InstallAppsWithUnlimtedStorage);
966 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest, 965 FRIEND_TEST_ALL_PREFIXES(ExtensionServiceTest,
967 InstallAppsAndCheckStorageProtection); 966 InstallAppsAndCheckStorageProtection);
968 DISALLOW_COPY_AND_ASSIGN(ExtensionService); 967 DISALLOW_COPY_AND_ASSIGN(ExtensionService);
969 }; 968 };
970 969
971 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_ 970 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui_browsertest.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698