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

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

Issue 924793003: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 }; 258 };
259 259
260 enum BackendMode { 260 enum BackendMode {
261 IDLE, // No backend. 261 IDLE, // No backend.
262 SYNC, // Backend for syncing. 262 SYNC, // Backend for syncing.
263 BACKUP, // Backend for backup. 263 BACKUP, // Backend for backup.
264 ROLLBACK // Backend for rollback. 264 ROLLBACK // Backend for rollback.
265 }; 265 };
266 266
267 // Default sync server URL. 267 // Default sync server URL.
268 static const char* kSyncServerUrl; 268 static const char kSyncServerUrl[];
269 // Sync server URL for dev channel users 269 // Sync server URL for dev channel users
270 static const char* kDevServerUrl; 270 static const char kDevServerUrl[];
271 271
272 // Takes ownership of |factory| and |signin_wrapper|. 272 // Takes ownership of |factory| and |signin_wrapper|.
273 ProfileSyncService( 273 ProfileSyncService(
274 scoped_ptr<ProfileSyncComponentsFactory> factory, 274 scoped_ptr<ProfileSyncComponentsFactory> factory,
275 Profile* profile, 275 Profile* profile,
276 scoped_ptr<SupervisedUserSigninManagerWrapper> signin_wrapper, 276 scoped_ptr<SupervisedUserSigninManagerWrapper> signin_wrapper,
277 ProfileOAuth2TokenService* oauth2_token_service, 277 ProfileOAuth2TokenService* oauth2_token_service,
278 browser_sync::ProfileSyncServiceStartBehavior start_behavior); 278 browser_sync::ProfileSyncServiceStartBehavior start_behavior);
279 ~ProfileSyncService() override; 279 ~ProfileSyncService() override;
280 280
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_; 1168 base::WeakPtrFactory<ProfileSyncService> startup_controller_weak_factory_;
1169 1169
1170 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 1170 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
1171 }; 1171 };
1172 1172
1173 bool ShouldShowActionOnUI( 1173 bool ShouldShowActionOnUI(
1174 const syncer::SyncProtocolError& error); 1174 const syncer::SyncProtocolError& error);
1175 1175
1176 1176
1177 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 1177 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698