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

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

Issue 10662035: [Sync] Put everything in sync/api into csync namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 8 years, 5 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 "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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 } 66 }
67 67
68 void TestExtensionService::CheckAdminBlacklist() { 68 void TestExtensionService::CheckAdminBlacklist() {
69 ADD_FAILURE(); 69 ADD_FAILURE();
70 } 70 }
71 71
72 void TestExtensionService::CheckForUpdatesSoon() { 72 void TestExtensionService::CheckForUpdatesSoon() {
73 ADD_FAILURE(); 73 ADD_FAILURE();
74 } 74 }
75 75
76 SyncError TestExtensionService::MergeDataAndStartSyncing( 76 csync::SyncError TestExtensionService::MergeDataAndStartSyncing(
77 syncable::ModelType type, 77 syncable::ModelType type,
78 const SyncDataList& initial_sync_data, 78 const csync::SyncDataList& initial_sync_data,
79 scoped_ptr<SyncChangeProcessor> sync_processor, 79 scoped_ptr<csync::SyncChangeProcessor> sync_processor,
80 scoped_ptr<SyncErrorFactory> sync_error_factory) { 80 scoped_ptr<csync::SyncErrorFactory> sync_error_factory) {
81 ADD_FAILURE(); 81 ADD_FAILURE();
82 return SyncError(); 82 return csync::SyncError();
83 } 83 }
84 84
85 void TestExtensionService::StopSyncing(syncable::ModelType type) { 85 void TestExtensionService::StopSyncing(syncable::ModelType type) {
86 ADD_FAILURE(); 86 ADD_FAILURE();
87 } 87 }
88 88
89 SyncDataList TestExtensionService::GetAllSyncData( 89 csync::SyncDataList TestExtensionService::GetAllSyncData(
90 syncable::ModelType type) const { 90 syncable::ModelType type) const {
91 ADD_FAILURE(); 91 ADD_FAILURE();
92 return SyncDataList(); 92 return csync::SyncDataList();
93 } 93 }
94 94
95 SyncError TestExtensionService::ProcessSyncChanges( 95 csync::SyncError TestExtensionService::ProcessSyncChanges(
96 const tracked_objects::Location& from_here, 96 const tracked_objects::Location& from_here,
97 const SyncChangeList& change_list) { 97 const csync::SyncChangeList& change_list) {
98 ADD_FAILURE(); 98 ADD_FAILURE();
99 return SyncError(); 99 return csync::SyncError();
100 } 100 }
101 101
102 bool TestExtensionService::is_ready() { 102 bool TestExtensionService::is_ready() {
103 ADD_FAILURE(); 103 ADD_FAILURE();
104 return false; 104 return false;
105 } 105 }
106 106
107 void TestExtensionService::AddExtension(const Extension* extension) { 107 void TestExtensionService::AddExtension(const Extension* extension) {
108 ADD_FAILURE(); 108 ADD_FAILURE();
109 } 109 }
110 110
111 void TestExtensionService::UnloadExtension( 111 void TestExtensionService::UnloadExtension(
112 const std::string& extension_id, 112 const std::string& extension_id,
113 extension_misc::UnloadedExtensionReason reason) { 113 extension_misc::UnloadedExtensionReason reason) {
114 ADD_FAILURE(); 114 ADD_FAILURE();
115 } 115 }
116 116
117 void TestExtensionService::SyncExtensionChangeIfNeeded( 117 void TestExtensionService::SyncExtensionChangeIfNeeded(
118 const Extension& extension) { 118 const Extension& extension) {
119 ADD_FAILURE(); 119 ADD_FAILURE();
120 } 120 }
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