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

Side by Side Diff: chrome/browser/invalidation/invalidation_service_android.h

Issue 308413002: Revert of Move some sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_ 5 #ifndef CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_
6 #define CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_ 6 #define CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/threading/non_thread_safe.h" 11 #include "base/threading/non_thread_safe.h"
12 #include "components/invalidation/invalidation_logger.h" 12 #include "components/invalidation/invalidation_logger.h"
13 #include "components/invalidation/invalidation_service.h" 13 #include "components/invalidation/invalidation_service.h"
14 #include "components/invalidation/invalidator_registrar.h"
15 #include "components/keyed_service/core/keyed_service.h" 14 #include "components/keyed_service/core/keyed_service.h"
16 #include "content/public/browser/notification_observer.h" 15 #include "content/public/browser/notification_observer.h"
17 #include "content/public/browser/notification_registrar.h" 16 #include "content/public/browser/notification_registrar.h"
17 #include "sync/notifier/invalidator_registrar.h"
18 18
19 class Profile; 19 class Profile;
20 20
21 namespace invalidation { 21 namespace invalidation {
22 class InvalidationControllerAndroid; 22 class InvalidationControllerAndroid;
23 class InvalidationLogger; 23 class InvalidationLogger;
24 24
25 // This InvalidationService is used to deliver invalidations on Android. The 25 // This InvalidationService is used to deliver invalidations on Android. The
26 // Android operating system has its own mechanisms for delivering invalidations. 26 // Android operating system has its own mechanisms for delivering invalidations.
27 // This class uses the NotificationService to communicate with a thin wrapper 27 // This class uses the NotificationService to communicate with a thin wrapper
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 // The invalidation logger object we use to record state changes 75 // The invalidation logger object we use to record state changes
76 // and invalidations. 76 // and invalidations.
77 InvalidationLogger logger_; 77 InvalidationLogger logger_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(InvalidationServiceAndroid); 79 DISALLOW_COPY_AND_ASSIGN(InvalidationServiceAndroid);
80 }; 80 };
81 81
82 } // namespace invalidation 82 } // namespace invalidation
83 83
84 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_ 84 #endif // CHROME_BROWSER_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698