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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host.cc

Issue 10407014: Rename InvalidationVersionTracker to InvalidationStateTracker in preparation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « no previous file | chrome/browser/sync/sync_prefs.h » ('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 (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 #include "build/build_config.h" 5 #include "build/build_config.h"
6 6
7 #include "chrome/browser/sync/glue/sync_backend_host.h" 7 #include "chrome/browser/sync/glue/sync_backend_host.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <map> 10 #include <map>
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 sync_thread_("Chrome_SyncThread"), 305 sync_thread_("Chrome_SyncThread"),
306 frontend_loop_(MessageLoop::current()), 306 frontend_loop_(MessageLoop::current()),
307 profile_(profile), 307 profile_(profile),
308 name_("Unknown"), 308 name_("Unknown"),
309 initialization_state_(NOT_ATTEMPTED), 309 initialization_state_(NOT_ATTEMPTED),
310 chrome_sync_notification_bridge_(profile_), 310 chrome_sync_notification_bridge_(profile_),
311 sync_notifier_factory_( 311 sync_notifier_factory_(
312 ParseNotifierOptions(*CommandLine::ForCurrentProcess(), 312 ParseNotifierOptions(*CommandLine::ForCurrentProcess(),
313 profile_->GetRequestContext()), 313 profile_->GetRequestContext()),
314 content::GetUserAgent(GURL()), 314 content::GetUserAgent(GURL()),
315 base::WeakPtr<sync_notifier::InvalidationVersionTracker>()), 315 base::WeakPtr<sync_notifier::InvalidationStateTracker>()),
316 frontend_(NULL) { 316 frontend_(NULL) {
317 } 317 }
318 318
319 SyncBackendHost::~SyncBackendHost() { 319 SyncBackendHost::~SyncBackendHost() {
320 DCHECK(!core_ && !frontend_) << "Must call Shutdown before destructor."; 320 DCHECK(!core_ && !frontend_) << "Must call Shutdown before destructor.";
321 DCHECK(!registrar_.get()); 321 DCHECK(!registrar_.get());
322 } 322 }
323 323
324 namespace { 324 namespace {
325 325
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after
1438 FROM_HERE, 1438 FROM_HERE,
1439 base::Bind(&SyncBackendHost::Core::DoRefreshNigori, 1439 base::Bind(&SyncBackendHost::Core::DoRefreshNigori,
1440 core_.get(), sync_thread_done_callback)); 1440 core_.get(), sync_thread_done_callback));
1441 } 1441 }
1442 1442
1443 #undef SDVLOG 1443 #undef SDVLOG
1444 1444
1445 #undef SLOG 1445 #undef SLOG
1446 1446
1447 } // namespace browser_sync 1447 } // namespace browser_sync
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698