OLD | NEW |
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 Loading... |
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 |
OLD | NEW |