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

Side by Side Diff: content/common/indexed_db/indexed_db_key_unittest.cc

Issue 1307643003: IWYU for base/memory/scoped_vector.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <vector> 5 #include <vector>
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/memory/scoped_vector.h"
9 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
10 #include "content/common/indexed_db/indexed_db_key.h" 9 #include "content/common/indexed_db/indexed_db_key.h"
11 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
12 11
13 namespace content { 12 namespace content {
14 13
15 namespace { 14 namespace {
16 15
17 TEST(IndexedDBKeyTest, KeySizeEstimates) { 16 TEST(IndexedDBKeyTest, KeySizeEstimates) {
18 std::vector<IndexedDBKey> keys; 17 std::vector<IndexedDBKey> keys;
(...skipping 30 matching lines...) Expand all
49 48
50 ASSERT_EQ(keys.size(), estimates.size()); 49 ASSERT_EQ(keys.size(), estimates.size());
51 for (size_t i = 0; i < keys.size(); ++i) { 50 for (size_t i = 0; i < keys.size(); ++i) {
52 EXPECT_EQ(estimates[i], keys[i].size_estimate()); 51 EXPECT_EQ(estimates[i], keys[i].size_estimate());
53 } 52 }
54 } 53 }
55 54
56 } // namespace 55 } // namespace
57 56
58 } // namespace content 57 } // namespace content
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_key.h ('k') | content/renderer/gpu/gpu_benchmarking_extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698