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

Side by Side Diff: components/invalidation/public/invalidation_util.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 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 // Various utilities for dealing with invalidation data types. 5 // Various utilities for dealing with invalidation data types.
6 6
7 #ifndef COMPONENTS_INVALIDATION_INVALIDATION_UTIL_H_ 7 #ifndef COMPONENTS_INVALIDATION_PUBLIC_INVALIDATION_UTIL_H_
8 #define COMPONENTS_INVALIDATION_INVALIDATION_UTIL_H_ 8 #define COMPONENTS_INVALIDATION_PUBLIC_INVALIDATION_UTIL_H_
9 9
10 #include <map> 10 #include <map>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 13
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "components/invalidation/invalidation_export.h" 15 #include "components/invalidation/public/invalidation_export.h"
16 16
17 namespace base { 17 namespace base {
18 class DictionaryValue; 18 class DictionaryValue;
19 } // namespace 19 } // namespace
20 20
21 namespace invalidation { 21 namespace invalidation {
22 class Invalidation; 22 class Invalidation;
23 class ObjectId; 23 class ObjectId;
24 } // namespace invalidation 24 } // namespace invalidation
25 25
(...skipping 21 matching lines...) Expand all
47 const invalidation::ObjectId& object_id); 47 const invalidation::ObjectId& object_id);
48 48
49 bool ObjectIdFromValue(const base::DictionaryValue& value, 49 bool ObjectIdFromValue(const base::DictionaryValue& value,
50 invalidation::ObjectId* out); 50 invalidation::ObjectId* out);
51 51
52 INVALIDATION_EXPORT std::string ObjectIdToString( 52 INVALIDATION_EXPORT std::string ObjectIdToString(
53 const invalidation::ObjectId& object_id); 53 const invalidation::ObjectId& object_id);
54 54
55 } // namespace syncer 55 } // namespace syncer
56 56
57 #endif // COMPONENTS_INVALIDATION_INVALIDATION_UTIL_H_ 57 #endif // COMPONENTS_INVALIDATION_PUBLIC_INVALIDATION_UTIL_H_
OLDNEW
« no previous file with comments | « components/invalidation/public/invalidation_service.h ('k') | components/invalidation/public/invalidation_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698