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

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

Issue 10854009: Extension white and force lists (set by policy) should have priority over auto-updated Google black… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebased and merged 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_TEST_EXTENSION_SERVICE_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 30 matching lines...) Expand all
41 const std::string& id, bool include_disabled) const OVERRIDE; 41 const std::string& id, bool include_disabled) const OVERRIDE;
42 virtual const extensions::Extension* GetInstalledExtension( 42 virtual const extensions::Extension* GetInstalledExtension(
43 const std::string& id) const OVERRIDE; 43 const std::string& id) const OVERRIDE;
44 virtual bool IsExtensionEnabled( 44 virtual bool IsExtensionEnabled(
45 const std::string& extension_id) const OVERRIDE; 45 const std::string& extension_id) const OVERRIDE;
46 virtual bool IsExternalExtensionUninstalled( 46 virtual bool IsExternalExtensionUninstalled(
47 const std::string& extension_id) const OVERRIDE; 47 const std::string& extension_id) const OVERRIDE;
48 48
49 virtual void UpdateExtensionBlacklist( 49 virtual void UpdateExtensionBlacklist(
50 const std::vector<std::string>& blacklist) OVERRIDE; 50 const std::vector<std::string>& blacklist) OVERRIDE;
51 virtual void CheckAdminBlacklist() OVERRIDE; 51 virtual void CheckManagementPolicy() OVERRIDE;
52 virtual void CheckForUpdatesSoon() OVERRIDE; 52 virtual void CheckForUpdatesSoon() OVERRIDE;
53 53
54 virtual syncer::SyncError MergeDataAndStartSyncing( 54 virtual syncer::SyncError MergeDataAndStartSyncing(
55 syncer::ModelType type, 55 syncer::ModelType type,
56 const syncer::SyncDataList& initial_sync_data, 56 const syncer::SyncDataList& initial_sync_data,
57 scoped_ptr<syncer::SyncChangeProcessor> sync_processor, 57 scoped_ptr<syncer::SyncChangeProcessor> sync_processor,
58 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE; 58 scoped_ptr<syncer::SyncErrorFactory> sync_error_factory) OVERRIDE;
59 virtual void StopSyncing(syncer::ModelType type) OVERRIDE; 59 virtual void StopSyncing(syncer::ModelType type) OVERRIDE;
60 virtual syncer::SyncDataList GetAllSyncData( 60 virtual syncer::SyncDataList GetAllSyncData(
61 syncer::ModelType type) const OVERRIDE; 61 syncer::ModelType type) const OVERRIDE;
62 virtual syncer::SyncError ProcessSyncChanges( 62 virtual syncer::SyncError ProcessSyncChanges(
63 const tracked_objects::Location& from_here, 63 const tracked_objects::Location& from_here,
64 const syncer::SyncChangeList& change_list) OVERRIDE; 64 const syncer::SyncChangeList& change_list) OVERRIDE;
65 65
66 virtual bool is_ready() OVERRIDE; 66 virtual bool is_ready() OVERRIDE;
67 67
68 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE; 68 virtual void AddExtension(const extensions::Extension* extension) OVERRIDE;
69 69
70 virtual void UnloadExtension( 70 virtual void UnloadExtension(
71 const std::string& extension_id, 71 const std::string& extension_id,
72 extension_misc::UnloadedExtensionReason reason) OVERRIDE; 72 extension_misc::UnloadedExtensionReason reason) OVERRIDE;
73 73
74 virtual void SyncExtensionChangeIfNeeded( 74 virtual void SyncExtensionChangeIfNeeded(
75 const extensions::Extension& extension) OVERRIDE; 75 const extensions::Extension& extension) OVERRIDE;
76 }; 76 };
77 77
78 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_ 78 #endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_service_unittest.cc ('k') | chrome/browser/extensions/test_extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698