| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |