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

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

Issue 8596017: sync: rename ProfileSyncFactory to ProfileSyncComponentsFactory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final Created 9 years, 1 month 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) 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 #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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool synchronous_init_; 60 bool synchronous_init_;
61 bool fail_initial_download_; 61 bool fail_initial_download_;
62 }; 62 };
63 63
64 } // namespace browser_sync 64 } // namespace browser_sync
65 65
66 class TestProfileSyncService : public ProfileSyncService { 66 class TestProfileSyncService : public ProfileSyncService {
67 public: 67 public:
68 // |initial_condition_setup_task| can be used to populate nodes 68 // |initial_condition_setup_task| can be used to populate nodes
69 // before the OnBackendInitialized callback fires. 69 // before the OnBackendInitialized callback fires.
70 TestProfileSyncService(ProfileSyncFactory* factory, 70 TestProfileSyncService(ProfileSyncComponentsFactory* factory,
71 Profile* profile, 71 Profile* profile,
72 const std::string& test_user, 72 const std::string& test_user,
73 bool synchronous_backend_initialization, 73 bool synchronous_backend_initialization,
74 Task* initial_condition_setup_task); 74 Task* initial_condition_setup_task);
75 75
76 virtual ~TestProfileSyncService(); 76 virtual ~TestProfileSyncService();
77 77
78 void SetInitialSyncEndedForAllTypes(); 78 void SetInitialSyncEndedForAllTypes();
79 79
80 virtual void OnBackendInitialized( 80 virtual void OnBackendInitialized(
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 115
116 Task* initial_condition_setup_task_; 116 Task* initial_condition_setup_task_;
117 bool set_initial_sync_ended_on_init_; 117 bool set_initial_sync_ended_on_init_;
118 118
119 bool fail_initial_download_; 119 bool fail_initial_download_;
120 }; 120 };
121 121
122 122
123 123
124 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 124 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_setup_wizard_unittest.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