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

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

Issue 524983002: Move fileapi-related files from webkit/common/ to storage/common/ and set up redirect headers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix header guards, add OWNERS Created 6 years, 3 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
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/strings/utf_string_conversions.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int64 memory = 0; 54 int64 memory = 0;
55 for (std::vector<Item>::const_iterator iter = items_.begin(); 55 for (std::vector<Item>::const_iterator iter = items_.begin();
56 iter != items_.end(); ++iter) { 56 iter != items_.end(); ++iter) {
57 if (iter->type() == Item::TYPE_BYTES) 57 if (iter->type() == Item::TYPE_BYTES)
58 memory += iter->length(); 58 memory += iter->length();
59 } 59 }
60 return memory; 60 return memory;
61 } 61 }
62 62
63 } // namespace storage 63 } // namespace storage
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698