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

Side by Side Diff: webkit/common/blob/blob_data.cc

Issue 15995038: Use a direct include of utf_string_conversions.h in google_apis/, gpu/, ipc/, media/, ppapi/, print… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: better Created 7 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 | 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 "webkit/common/blob/blob_data.h" 5 #include "webkit/common/blob/blob_data.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/sys_string_conversions.h" 8 #include "base/strings/sys_string_conversions.h"
9 #include "base/strings/utf_string_conversions.h"
9 #include "base/time.h" 10 #include "base/time.h"
10 #include "base/utf_string_conversions.h"
11 11
12 namespace webkit_blob { 12 namespace webkit_blob {
13 13
14 BlobData::BlobData() {} 14 BlobData::BlobData() {}
15 BlobData::BlobData(const std::string& uuid) 15 BlobData::BlobData(const std::string& uuid)
16 : uuid_(uuid) { 16 : uuid_(uuid) {
17 } 17 }
18 18
19 BlobData::~BlobData() {} 19 BlobData::~BlobData() {}
20 20
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 int64 memory = 0; 60 int64 memory = 0;
61 for (std::vector<Item>::const_iterator iter = items_.begin(); 61 for (std::vector<Item>::const_iterator iter = items_.begin();
62 iter != items_.end(); ++iter) { 62 iter != items_.end(); ++iter) {
63 if (iter->type() == Item::TYPE_BYTES) 63 if (iter->type() == Item::TYPE_BYTES)
64 memory += iter->length(); 64 memory += iter->length();
65 } 65 }
66 return memory; 66 return memory;
67 } 67 }
68 68
69 } // namespace webkit_blob 69 } // namespace webkit_blob
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/obfuscated_file_util.cc ('k') | webkit/common/database/database_connections_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698