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

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

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 #include "chrome/browser/extensions/crx_installer.h" 5 #include "chrome/browser/extensions/crx_installer.h"
6 #include "chrome/browser/extensions/extension_sync_data.h" 6 #include "chrome/browser/extensions/extension_sync_data.h"
7 #include "chrome/browser/extensions/test_extension_service.h" 7 #include "chrome/browser/extensions/test_extension_service.h"
8 #include "sync/api/sync_error_factory.h" 8 #include "sync/api/sync_error_factory.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const std::string& extension_id) const { 59 const std::string& extension_id) const {
60 ADD_FAILURE(); 60 ADD_FAILURE();
61 return false; 61 return false;
62 } 62 }
63 63
64 void TestExtensionService::UpdateExtensionBlacklist( 64 void TestExtensionService::UpdateExtensionBlacklist(
65 const std::vector<std::string>& blacklist) { 65 const std::vector<std::string>& blacklist) {
66 ADD_FAILURE(); 66 ADD_FAILURE();
67 } 67 }
68 68
69 void TestExtensionService::CheckAdminBlacklist() { 69 void TestExtensionService::CheckManagementPolicy() {
70 ADD_FAILURE(); 70 ADD_FAILURE();
71 } 71 }
72 72
73 void TestExtensionService::CheckForUpdatesSoon() { 73 void TestExtensionService::CheckForUpdatesSoon() {
74 ADD_FAILURE(); 74 ADD_FAILURE();
75 } 75 }
76 76
77 syncer::SyncError TestExtensionService::MergeDataAndStartSyncing( 77 syncer::SyncError TestExtensionService::MergeDataAndStartSyncing(
78 syncer::ModelType type, 78 syncer::ModelType type,
79 const syncer::SyncDataList& initial_sync_data, 79 const syncer::SyncDataList& initial_sync_data,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 void TestExtensionService::UnloadExtension( 112 void TestExtensionService::UnloadExtension(
113 const std::string& extension_id, 113 const std::string& extension_id,
114 extension_misc::UnloadedExtensionReason reason) { 114 extension_misc::UnloadedExtensionReason reason) {
115 ADD_FAILURE(); 115 ADD_FAILURE();
116 } 116 }
117 117
118 void TestExtensionService::SyncExtensionChangeIfNeeded( 118 void TestExtensionService::SyncExtensionChangeIfNeeded(
119 const Extension& extension) { 119 const Extension& extension) {
120 ADD_FAILURE(); 120 ADD_FAILURE();
121 } 121 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | chrome/browser/protector/protected_prefs_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698