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

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

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/invalidation/sync_system_resources.h" 5 #include "components/invalidation/sync_system_resources.h"
6 6
7 #include <cstdlib> 7 #include <cstdlib>
8 #include <cstring> 8 #include <cstring>
9 #include <string> 9 #include <string>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 #include "base/stl_util.h" 14 #include "base/stl_util.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "components/invalidation/gcm_network_channel.h" 17 #include "components/invalidation/gcm_network_channel.h"
18 #include "components/invalidation/gcm_network_channel_delegate.h" 18 #include "components/invalidation/gcm_network_channel_delegate.h"
19 #include "components/invalidation/push_client_channel.h" 19 #include "components/invalidation/push_client_channel.h"
20 #include "google/cacheinvalidation/deps/callback.h" 20 #include "google/cacheinvalidation/deps/callback.h"
21 #include "google/cacheinvalidation/include/types.h" 21 #include "google/cacheinvalidation/include/types.h"
22 #include "jingle/notifier/listener/push_client.h" 22 #include "jingle/notifier/listener/push_client.h"
23 #include "sync/notifier/invalidation_util.h" 23 #include "sync/internal_api/public/base/invalidation_util.h"
24 24
25 namespace syncer { 25 namespace syncer {
26 26
27 SyncLogger::SyncLogger() {} 27 SyncLogger::SyncLogger() {}
28 SyncLogger::~SyncLogger() {} 28 SyncLogger::~SyncLogger() {}
29 29
30 void SyncLogger::Log(LogLevel level, const char* file, int line, 30 void SyncLogger::Log(LogLevel level, const char* file, int line,
31 const char* format, ...) { 31 const char* format, ...) {
32 logging::LogSeverity log_severity = -2; // VLOG(2) 32 logging::LogSeverity log_severity = -2; // VLOG(2)
33 bool emit_log = false; 33 bool emit_log = false;
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 327
328 SyncInvalidationScheduler* SyncSystemResources::internal_scheduler() { 328 SyncInvalidationScheduler* SyncSystemResources::internal_scheduler() {
329 return internal_scheduler_.get(); 329 return internal_scheduler_.get();
330 } 330 }
331 331
332 SyncInvalidationScheduler* SyncSystemResources::listener_scheduler() { 332 SyncInvalidationScheduler* SyncSystemResources::listener_scheduler() {
333 return listener_scheduler_.get(); 333 return listener_scheduler_.get();
334 } 334 }
335 335
336 } // namespace syncer 336 } // namespace syncer
OLDNEW
« no previous file with comments | « components/invalidation/sync_invalidation_listener_unittest.cc ('k') | components/invalidation/ticl_invalidation_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698