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

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

Issue 9749012: [Sync] Have SyncableService's take ownership of their SyncChangeProcessor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict Created 8 years, 9 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 #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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 SyncError TestExtensionService::MergeDataAndStartSyncing(
69 syncable::ModelType type, 69 syncable::ModelType type,
70 const SyncDataList& initial_sync_data, 70 const SyncDataList& initial_sync_data,
71 SyncChangeProcessor* sync_processor) { 71 scoped_ptr<SyncChangeProcessor> sync_processor) {
72 ADD_FAILURE(); 72 ADD_FAILURE();
73 return SyncError(); 73 return SyncError();
74 } 74 }
75 75
76 void TestExtensionService::StopSyncing(syncable::ModelType type) { 76 void TestExtensionService::StopSyncing(syncable::ModelType type) {
77 ADD_FAILURE(); 77 ADD_FAILURE();
78 } 78 }
79 79
80 SyncDataList TestExtensionService::GetAllSyncData( 80 SyncDataList TestExtensionService::GetAllSyncData(
81 syncable::ModelType type) const { 81 syncable::ModelType type) const {
(...skipping 21 matching lines...) Expand all
103 void TestExtensionService::UnloadExtension( 103 void TestExtensionService::UnloadExtension(
104 const std::string& extension_id, 104 const std::string& extension_id,
105 extension_misc::UnloadedExtensionReason reason) { 105 extension_misc::UnloadedExtensionReason reason) {
106 ADD_FAILURE(); 106 ADD_FAILURE();
107 } 107 }
108 108
109 void TestExtensionService::SyncExtensionChangeIfNeeded( 109 void TestExtensionService::SyncExtensionChangeIfNeeded(
110 const Extension& extension) { 110 const Extension& extension) {
111 ADD_FAILURE(); 111 ADD_FAILURE();
112 } 112 }
OLDNEW
« no previous file with comments | « chrome/browser/extensions/test_extension_service.h ('k') | chrome/browser/prefs/pref_model_associator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698