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

Side by Side Diff: components/drive/file_change.cc

Issue 1246753003: Move a subset of chrome/browser/chromeos/drive into components/drive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed incorrect reference to a GYP dependency. Created 5 years, 4 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/drive/file_change.h ('k') | components/drive/file_change_unittest.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) 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 "chrome/browser/chromeos/drive/file_change.h" 5 #include "components/drive/file_change.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
11 #include "components/drive/drive.pb.h" 11 #include "components/drive/drive.pb.h"
12 12
13 namespace drive { 13 namespace drive {
14 14
15 FileChange::Change::Change(ChangeType change, FileType file_type) 15 FileChange::Change::Change(ChangeType change, FileType file_type)
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 ss << "{ "; 145 ss << "{ ";
146 for (FileChange::Map::const_iterator it = map_.begin(); it != map_.end(); 146 for (FileChange::Map::const_iterator it = map_.begin(); it != map_.end();
147 it++) { 147 it++) {
148 ss << it->first.value() << ": " << it->second.DebugString() << ", "; 148 ss << it->first.value() << ": " << it->second.DebugString() << ", ";
149 } 149 }
150 ss << "}"; 150 ss << "}";
151 return ss.str(); 151 return ss.str();
152 } 152 }
153 153
154 } // namespace drive 154 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/file_change.h ('k') | components/drive/file_change_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698