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

Side by Side Diff: sync/internal_api/public/base/invalidation_util.cc

Issue 387733004: Move sync/notifier to components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: (GN) Comment out dependency on internal target Created 6 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "sync/notifier/invalidation_util.h" 5 #include "sync/internal_api/public/base/invalidation_util.h"
6 6
7 #include <ostream> 7 #include <ostream>
8 #include <sstream> 8 #include <sstream>
9 9
10 #include "base/json/json_writer.h" 10 #include "base/json/json_writer.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "google/cacheinvalidation/include/types.h" 13 #include "google/cacheinvalidation/include/types.h"
14 #include "google/cacheinvalidation/types.pb.h" 14 #include "google/cacheinvalidation/types.pb.h"
15 #include "sync/internal_api/public/base/invalidation.h" 15 #include "sync/internal_api/public/base/invalidation.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const invalidation::Invalidation& invalidation) { 122 const invalidation::Invalidation& invalidation) {
123 std::stringstream ss; 123 std::stringstream ss;
124 ss << "{ "; 124 ss << "{ ";
125 ss << "object_id: " << ObjectIdToString(invalidation.object_id()) << ", "; 125 ss << "object_id: " << ObjectIdToString(invalidation.object_id()) << ", ";
126 ss << "version: " << invalidation.version(); 126 ss << "version: " << invalidation.version();
127 ss << " }"; 127 ss << " }";
128 return ss.str(); 128 return ss.str();
129 } 129 }
130 130
131 } // namespace syncer 131 } // namespace syncer
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698