OLD | NEW |
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/chrome_invalidation_client.h" | 5 #include "sync/notifier/chrome_invalidation_client.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/tracked_objects.h" | 12 #include "base/tracked_objects.h" |
13 #include "google/cacheinvalidation/include/invalidation-client-factory.h" | 13 #include "google/cacheinvalidation/include/invalidation-client-factory.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" |
16 #include "google/cacheinvalidation/v2/types.pb.h" | 16 #include "google/cacheinvalidation/types.pb.h" |
17 #include "jingle/notifier/listener/push_client.h" | 17 #include "jingle/notifier/listener/push_client.h" |
18 #include "sync/notifier/invalidation_util.h" | 18 #include "sync/notifier/invalidation_util.h" |
19 #include "sync/notifier/registration_manager.h" | 19 #include "sync/notifier/registration_manager.h" |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 const char kApplicationName[] = "chrome-sync"; | 23 const char kApplicationName[] = "chrome-sync"; |
24 | 24 |
25 } // namespace | 25 } // namespace |
26 | 26 |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
329 EmitStateChange(); | 329 EmitStateChange(); |
330 } | 330 } |
331 | 331 |
332 void ChromeInvalidationClient::OnIncomingNotification( | 332 void ChromeInvalidationClient::OnIncomingNotification( |
333 const notifier::Notification& notification) { | 333 const notifier::Notification& notification) { |
334 DCHECK(CalledOnValidThread()); | 334 DCHECK(CalledOnValidThread()); |
335 // Do nothing, since this is already handled by |invalidation_client_|. | 335 // Do nothing, since this is already handled by |invalidation_client_|. |
336 } | 336 } |
337 | 337 |
338 } // namespace syncer | 338 } // namespace syncer |
OLD | NEW |