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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const std::string& test_user, 92 const std::string& test_user,
93 bool synchronous_backend_initialization, 93 bool synchronous_backend_initialization,
94 Task* initial_condition_setup_task); 94 Task* initial_condition_setup_task);
95 95
96 virtual ~TestProfileSyncService(); 96 virtual ~TestProfileSyncService();
97 97
98 void SetInitialSyncEndedForEnabledTypes(); 98 void SetInitialSyncEndedForEnabledTypes();
99 99
100 virtual void OnBackendInitialized(); 100 virtual void OnBackendInitialized();
101 101
102 virtual void Observe(NotificationType type, 102 virtual void Observe(int type,
103 const NotificationSource& source, 103 const NotificationSource& source,
104 const NotificationDetails& details); 104 const NotificationDetails& details);
105 105
106 // If this is called, configuring data types will require a syncer 106 // If this is called, configuring data types will require a syncer
107 // nudge. 107 // nudge.
108 void dont_set_initial_sync_ended_on_init(); 108 void dont_set_initial_sync_ended_on_init();
109 void set_synchronous_sync_configuration(); 109 void set_synchronous_sync_configuration();
110 110
111 browser_sync::TestIdFactory* id_factory(); 111 browser_sync::TestIdFactory* id_factory();
112 112
(...skipping 20 matching lines...) Expand all
133 bool synchronous_sync_configuration_; 133 bool synchronous_sync_configuration_;
134 bool set_expect_resume_expectations_; 134 bool set_expect_resume_expectations_;
135 135
136 Task* initial_condition_setup_task_; 136 Task* initial_condition_setup_task_;
137 bool set_initial_sync_ended_on_init_; 137 bool set_initial_sync_ended_on_init_;
138 }; 138 };
139 139
140 140
141 141
142 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_ 142 #endif // CHROME_BROWSER_SYNC_TEST_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/syncable/model_type.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