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

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.h

Issue 11052007: Rename ModelType/ObjectIdStateMap to InvalidationMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const syncer::WeakHandle<syncer::JsBackend>& js_backend, 59 const syncer::WeakHandle<syncer::JsBackend>& js_backend,
60 bool success, 60 bool success,
61 syncer::ModelTypeSet restored_types) OVERRIDE; 61 syncer::ModelTypeSet restored_types) OVERRIDE;
62 62
63 static void SetHistoryServiceExpectations(ProfileMock* profile); 63 static void SetHistoryServiceExpectations(ProfileMock* profile);
64 64
65 void SetInitialSyncEndedForAllTypes(); 65 void SetInitialSyncEndedForAllTypes();
66 66
67 void EmitOnInvalidatorStateChange(syncer::InvalidatorState state); 67 void EmitOnInvalidatorStateChange(syncer::InvalidatorState state);
68 void EmitOnIncomingInvalidation( 68 void EmitOnIncomingInvalidation(
69 const syncer::ObjectIdStateMap& id_state_map, 69 const syncer::ObjectIdInvalidationMap& invalidation_map,
70 const syncer::IncomingInvalidationSource source); 70 const syncer::IncomingInvalidationSource source);
71 71
72 protected: 72 protected:
73 virtual void InitCore(const DoInitializeOptions& options) OVERRIDE; 73 virtual void InitCore(const DoInitializeOptions& options) OVERRIDE;
74 74
75 private: 75 private:
76 syncer::TestIdFactory& id_factory_; 76 syncer::TestIdFactory& id_factory_;
77 base::Closure& callback_; 77 base::Closure& callback_;
78 78
79 bool set_initial_sync_ended_on_init_; 79 bool set_initial_sync_ended_on_init_;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 bool synchronous_sync_configuration_; 139 bool synchronous_sync_configuration_;
140 140
141 base::Closure callback_; 141 base::Closure callback_;
142 bool set_initial_sync_ended_on_init_; 142 bool set_initial_sync_ended_on_init_;
143 143
144 bool fail_initial_download_; 144 bool fail_initial_download_;
145 syncer::StorageOption storage_option_; 145 syncer::StorageOption storage_option_;
146 }; 146 };
147 147
148 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 148 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/sync_test.cc ('k') | chrome/browser/sync/test_profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698