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

Side by Side Diff: components/invalidation/invalidator_registrar.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/invalidator_registrar.h" 5 #include "components/invalidation/invalidator_registrar.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <iterator> 8 #include <iterator>
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "sync/notifier/object_id_invalidation_map.h" 12 #include "sync/notifier/object_id_invalidation_map.h"
13 13
14 namespace syncer { 14 namespace syncer {
15 15
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 DCHECK(thread_checker_.CalledOnValidThread()); 140 DCHECK(thread_checker_.CalledOnValidThread());
141 return handlers_.HasObserver(handler); 141 return handlers_.HasObserver(handler);
142 } 142 }
143 143
144 void InvalidatorRegistrar::DetachFromThreadForTest() { 144 void InvalidatorRegistrar::DetachFromThreadForTest() {
145 DCHECK(thread_checker_.CalledOnValidThread()); 145 DCHECK(thread_checker_.CalledOnValidThread());
146 thread_checker_.DetachFromThread(); 146 thread_checker_.DetachFromThread();
147 } 147 }
148 148
149 } // namespace syncer 149 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/invalidator_registrar.h ('k') | components/invalidation/invalidator_registrar_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698