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

Side by Side Diff: chrome/browser/sync/notifier/invalidation_util.h

Issue 5254009: roll cacheinvalidation to @60 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « DEPS ('k') | chrome/browser/sync/notifier/invalidation_util.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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_SYNC_NOTIFIER_INVALIDATION_UTIL_H_ 7 #ifndef CHROME_BROWSER_SYNC_NOTIFIER_INVALIDATION_UTIL_H_
8 #define CHROME_BROWSER_SYNC_NOTIFIER_INVALIDATION_UTIL_H_ 8 #define CHROME_BROWSER_SYNC_NOTIFIER_INVALIDATION_UTIL_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 10 matching lines...) Expand all
21 invalidation::ObjectId* object_id); 21 invalidation::ObjectId* object_id);
22 22
23 bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id, 23 bool ObjectIdToRealModelType(const invalidation::ObjectId& object_id,
24 syncable::ModelType* model_type); 24 syncable::ModelType* model_type);
25 25
26 // We need to write our own protobuf-to-string functions because we 26 // We need to write our own protobuf-to-string functions because we
27 // use LITE_RUNTIME, which doesn't support DebugString(). 27 // use LITE_RUNTIME, which doesn't support DebugString().
28 28
29 std::string ObjectIdToString(const invalidation::ObjectId& object_id); 29 std::string ObjectIdToString(const invalidation::ObjectId& object_id);
30 30
31 std::string ObjectIdPToString(const invalidation::ObjectIdP& object_id);
32
31 std::string StatusToString(const invalidation::Status& status); 33 std::string StatusToString(const invalidation::Status& status);
32 34
33 std::string InvalidationToString( 35 std::string InvalidationToString(
34 const invalidation::Invalidation& invalidation); 36 const invalidation::Invalidation& invalidation);
35 37
36 std::string RegistrationUpdateToString( 38 std::string RegistrationUpdateToString(
37 const invalidation::RegistrationUpdate& update); 39 const invalidation::RegistrationUpdate& update);
38 40
39 std::string RegistrationUpdateResultToString( 41 std::string RegistrationUpdateResultToString(
40 const invalidation::RegistrationUpdateResult& update_result); 42 const invalidation::RegistrationUpdateResult& update_result);
41 43
42 } // namespace sync_notifier 44 } // namespace sync_notifier
43 45
44 #endif // CHROME_BROWSER_SYNC_NOTIFIER_INVALIDATION_UTIL_H_ 46 #endif // CHROME_BROWSER_SYNC_NOTIFIER_INVALIDATION_UTIL_H_
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/browser/sync/notifier/invalidation_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698