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

Side by Side Diff: components/invalidation/public/ack_handle.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
« no previous file with comments | « components/invalidation/public/BUILD.gn ('k') | components/invalidation/public/ack_handle.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef COMPONENTS_INVALIDATION_ACK_HANDLE_H_ 5 #ifndef COMPONENTS_INVALIDATION_PUBLIC_ACK_HANDLE_H_
6 #define COMPONENTS_INVALIDATION_ACK_HANDLE_H_ 6 #define COMPONENTS_INVALIDATION_PUBLIC_ACK_HANDLE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "components/invalidation/invalidation_export.h" 13 #include "components/invalidation/public/invalidation_export.h"
14 14
15 namespace base { 15 namespace base {
16 class DictionaryValue; 16 class DictionaryValue;
17 } 17 }
18 18
19 namespace syncer { 19 namespace syncer {
20 20
21 // Opaque class that represents a local ack handle. We don't reuse the 21 // Opaque class that represents a local ack handle. We don't reuse the
22 // invalidation ack handles to avoid unnecessary dependencies. 22 // invalidation ack handles to avoid unnecessary dependencies.
23 class INVALIDATION_EXPORT AckHandle { 23 class INVALIDATION_EXPORT AckHandle {
(...skipping 13 matching lines...) Expand all
37 private: 37 private:
38 // Explicitly copyable and assignable for STL containers. 38 // Explicitly copyable and assignable for STL containers.
39 AckHandle(const std::string& state, base::Time timestamp); 39 AckHandle(const std::string& state, base::Time timestamp);
40 40
41 std::string state_; 41 std::string state_;
42 base::Time timestamp_; 42 base::Time timestamp_;
43 }; 43 };
44 44
45 } // namespace syncer 45 } // namespace syncer
46 46
47 #endif // COMPONENTS_INVALIDATION_ACK_HANDLE_H_ 47 #endif // COMPONENTS_INVALIDATION_PUBLIC_ACK_HANDLE_H_
OLDNEW
« no previous file with comments | « components/invalidation/public/BUILD.gn ('k') | components/invalidation/public/ack_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698