OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "testing/gtest/include/gtest/gtest.h" | 8 #include "testing/gtest/include/gtest/gtest.h" |
9 | 9 |
10 TestExtensionService::~TestExtensionService() {} | 10 TestExtensionService::~TestExtensionService() {} |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 } | 58 } |
59 | 59 |
60 void TestExtensionService::CheckAdminBlacklist() { | 60 void TestExtensionService::CheckAdminBlacklist() { |
61 ADD_FAILURE(); | 61 ADD_FAILURE(); |
62 } | 62 } |
63 | 63 |
64 void TestExtensionService::CheckForUpdatesSoon() { | 64 void TestExtensionService::CheckForUpdatesSoon() { |
65 ADD_FAILURE(); | 65 ADD_FAILURE(); |
66 } | 66 } |
67 | 67 |
68 SyncError TestExtensionService::MergeDataAndStartSyncing( | 68 bool TestExtensionService::GetSyncData( |
69 syncable::ModelType type, | 69 const Extension& extension, ExtensionFilter filter, |
70 const SyncDataList& initial_sync_data, | 70 ExtensionSyncData* extension_sync_data) const { |
71 SyncChangeProcessor* sync_processor) { | |
72 ADD_FAILURE(); | 71 ADD_FAILURE(); |
73 return SyncError(); | 72 return false; |
74 } | 73 } |
75 | 74 |
76 void TestExtensionService::StopSyncing(syncable::ModelType type) { | 75 std::vector<ExtensionSyncData> TestExtensionService::GetSyncDataList( |
| 76 ExtensionFilter filter) const { |
| 77 ADD_FAILURE(); |
| 78 return std::vector<ExtensionSyncData>(); |
| 79 } |
| 80 |
| 81 void TestExtensionService::ProcessSyncData( |
| 82 const ExtensionSyncData& extension_sync_data, |
| 83 ExtensionFilter filter) { |
77 ADD_FAILURE(); | 84 ADD_FAILURE(); |
78 } | 85 } |
79 | |
80 SyncDataList TestExtensionService::GetAllSyncData( | |
81 syncable::ModelType type) const { | |
82 ADD_FAILURE(); | |
83 return SyncDataList(); | |
84 } | |
85 | |
86 SyncError TestExtensionService::ProcessSyncChanges( | |
87 const tracked_objects::Location& from_here, | |
88 const SyncChangeList& change_list) { | |
89 ADD_FAILURE(); | |
90 return SyncError(); | |
91 } | |
OLD | NEW |