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

Side by Side Diff: components/sync/driver/sync_service.cc

Issue 2387553002: [Sync] Removing duplicated includes between cc and h files. (Closed)
Patch Set: Fixing DataTypeStatusTable Created 4 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
« no previous file with comments | « components/sync/driver/sync_prefs.cc ('k') | components/sync/driver/sync_stopped_reporter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/sync/driver/sync_service.h" 5 #include "components/sync/driver/sync_service.h"
6 6
7 #include "components/sync/core/sync_manager.h" 7 #include "components/sync/core/sync_manager.h"
8 #include "google_apis/gaia/google_service_auth_error.h"
9 8
10 namespace sync_driver { 9 namespace sync_driver {
11 10
12 SyncSetupInProgressHandle::SyncSetupInProgressHandle(base::Closure on_destroy) 11 SyncSetupInProgressHandle::SyncSetupInProgressHandle(base::Closure on_destroy)
13 : on_destroy_(on_destroy) {} 12 : on_destroy_(on_destroy) {}
14 13
15 SyncSetupInProgressHandle::~SyncSetupInProgressHandle() { 14 SyncSetupInProgressHandle::~SyncSetupInProgressHandle() {
16 on_destroy_.Run(); 15 on_destroy_.Run();
17 } 16 }
18 17
19 SyncService::SyncTokenStatus::SyncTokenStatus() 18 SyncService::SyncTokenStatus::SyncTokenStatus()
20 : connection_status(syncer::CONNECTION_NOT_ATTEMPTED), 19 : connection_status(syncer::CONNECTION_NOT_ATTEMPTED),
21 last_get_token_error(GoogleServiceAuthError::AuthErrorNone()) {} 20 last_get_token_error(GoogleServiceAuthError::AuthErrorNone()) {}
22 21
23 } // namespace sync_driver 22 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync/driver/sync_prefs.cc ('k') | components/sync/driver/sync_stopped_reporter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698