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

Side by Side Diff: components/invalidation/sync_invalidation_listener.cc

Issue 294123004: Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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) 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 "sync/notifier/sync_invalidation_listener.h" 5 #include "components/invalidation/sync_invalidation_listener.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/tracked_objects.h" 13 #include "base/tracked_objects.h"
14 #include "google/cacheinvalidation/include/invalidation-client.h" 14 #include "google/cacheinvalidation/include/invalidation-client.h"
15 #include "google/cacheinvalidation/include/types.h" 15 #include "google/cacheinvalidation/include/types.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 } 434 }
435 435
436 void SyncInvalidationListener::OnNetworkChannelStateChanged( 436 void SyncInvalidationListener::OnNetworkChannelStateChanged(
437 InvalidatorState invalidator_state) { 437 InvalidatorState invalidator_state) {
438 DCHECK(CalledOnValidThread()); 438 DCHECK(CalledOnValidThread());
439 push_client_state_ = invalidator_state; 439 push_client_state_ = invalidator_state;
440 EmitStateChange(); 440 EmitStateChange();
441 } 441 }
442 442
443 } // namespace syncer 443 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/sync_invalidation_listener.h ('k') | components/invalidation/sync_invalidation_listener_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698