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

Side by Side Diff: webkit/quota/quota_manager_unittest.cc

Issue 7048007: Move scoped_temp_dir and scoped_native_library back from base/memory to base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unknwn Created 9 years, 7 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
« no previous file with comments | « webkit/quota/quota_database_unittest.cc ('k') | webkit/support/simple_database_system.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/file_util.h" 7 #include "base/file_util.h"
8 #include "base/memory/scoped_callback_factory.h" 8 #include "base/memory/scoped_callback_factory.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_temp_dir.h"
11 #include "base/message_loop.h" 10 #include "base/message_loop.h"
12 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "base/scoped_temp_dir.h"
13 #include "base/stl_util-inl.h" 13 #include "base/stl_util-inl.h"
14 #include "base/sys_info.h" 14 #include "base/sys_info.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaError. h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaError. h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h " 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h "
18 #include "webkit/quota/mock_storage_client.h" 18 #include "webkit/quota/mock_storage_client.h"
19 #include "webkit/quota/quota_database.h" 19 #include "webkit/quota/quota_database.h"
20 #include "webkit/quota/quota_manager.h" 20 #include "webkit/quota/quota_manager.h"
21 21
22 using base::MessageLoopProxy; 22 using base::MessageLoopProxy;
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
885 GetCachedOrigins(kStorageTypeTemporary, &origins); 885 GetCachedOrigins(kStorageTypeTemporary, &origins);
886 EXPECT_EQ(3U, origins.size()); 886 EXPECT_EQ(3U, origins.size());
887 887
888 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kData); ++i) { 888 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kData); ++i) {
889 if (kData[i].type == kStorageTypeTemporary) 889 if (kData[i].type == kStorageTypeTemporary)
890 EXPECT_TRUE(origins.find(GURL(kData[i].origin)) != origins.end()); 890 EXPECT_TRUE(origins.find(GURL(kData[i].origin)) != origins.end());
891 } 891 }
892 } 892 }
893 893
894 } // namespace quota 894 } // namespace quota
OLDNEW
« no previous file with comments | « webkit/quota/quota_database_unittest.cc ('k') | webkit/support/simple_database_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698