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

Side by Side Diff: components/invalidation/impl/invalidation_service_android.h

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 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
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 COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_ 5 #ifndef COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_ANDROID_H_
6 #define COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_ 6 #define COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_ANDROID_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <map> 9 #include <map>
10 10
11 #include "base/android/jni_android.h" 11 #include "base/android/jni_android.h"
12 #include "base/android/scoped_java_ref.h" 12 #include "base/android/scoped_java_ref.h"
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/threading/non_thread_safe.h" 16 #include "base/threading/non_thread_safe.h"
17 #include "components/invalidation/invalidation_logger.h" 17 #include "components/invalidation/impl/invalidation_logger.h"
18 #include "components/invalidation/invalidation_service.h" 18 #include "components/invalidation/impl/invalidator_registrar.h"
19 #include "components/invalidation/invalidator_registrar.h" 19 #include "components/invalidation/public/invalidation_service.h"
20 #include "components/keyed_service/core/keyed_service.h" 20 #include "components/keyed_service/core/keyed_service.h"
21 21
22 namespace invalidation { 22 namespace invalidation {
23 23
24 class InvalidationLogger; 24 class InvalidationLogger;
25 25
26 // This InvalidationService is used to deliver invalidations on Android. The 26 // This InvalidationService is used to deliver invalidations on Android. The
27 // Android operating system has its own mechanisms for delivering invalidations. 27 // Android operating system has its own mechanisms for delivering invalidations.
28 class InvalidationServiceAndroid 28 class InvalidationServiceAndroid
29 : public base::NonThreadSafe, 29 : public base::NonThreadSafe,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // The invalidation logger object we use to record state changes 86 // The invalidation logger object we use to record state changes
87 // and invalidations. 87 // and invalidations.
88 InvalidationLogger logger_; 88 InvalidationLogger logger_;
89 89
90 DISALLOW_COPY_AND_ASSIGN(InvalidationServiceAndroid); 90 DISALLOW_COPY_AND_ASSIGN(InvalidationServiceAndroid);
91 }; 91 };
92 92
93 } // namespace invalidation 93 } // namespace invalidation
94 94
95 #endif // COMPONENTS_INVALIDATION_INVALIDATION_SERVICE_ANDROID_H_ 95 #endif // COMPONENTS_INVALIDATION_IMPL_INVALIDATION_SERVICE_ANDROID_H_
OLDNEW
« no previous file with comments | « components/invalidation/impl/invalidation_prefs.cc ('k') | components/invalidation/impl/invalidation_service_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698