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

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

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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) 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 <set> 5 #include <set>
6 #include <sstream> 6 #include <sstream>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/memory/scoped_callback_factory.h" 10 #include "base/memory/scoped_callback_factory.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/message_loop.h" 12 #include "base/message_loop.h"
13 #include "base/message_loop_proxy.h" 13 #include "base/message_loop_proxy.h"
14 #include "base/scoped_temp_dir.h" 14 #include "base/scoped_temp_dir.h"
15 #include "base/stl_util-inl.h" 15 #include "base/stl_util.h"
16 #include "base/sys_info.h" 16 #include "base/sys_info.h"
17 #include "base/time.h" 17 #include "base/time.h"
18 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
19 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaError. h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaError. h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h " 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageQuotaType.h "
22 #include "webkit/quota/mock_special_storage_policy.h" 22 #include "webkit/quota/mock_special_storage_policy.h"
23 #include "webkit/quota/mock_storage_client.h" 23 #include "webkit/quota/mock_storage_client.h"
24 #include "webkit/quota/quota_database.h" 24 #include "webkit/quota/quota_database.h"
25 #include "webkit/quota/quota_manager.h" 25 #include "webkit/quota/quota_manager.h"
(...skipping 1519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1545 GetPersistentHostQuota(std::string()); 1545 GetPersistentHostQuota(std::string());
1546 MessageLoop::current()->RunAllPending(); 1546 MessageLoop::current()->RunAllPending();
1547 EXPECT_EQ(kQuotaStatusOk, status()); 1547 EXPECT_EQ(kQuotaStatusOk, status());
1548 EXPECT_EQ(0, quota()); 1548 EXPECT_EQ(0, quota());
1549 1549
1550 SetPersistentHostQuota(std::string(), 10); 1550 SetPersistentHostQuota(std::string(), 10);
1551 MessageLoop::current()->RunAllPending(); 1551 MessageLoop::current()->RunAllPending();
1552 EXPECT_EQ(kQuotaErrorNotSupported, status()); 1552 EXPECT_EQ(kQuotaErrorNotSupported, status());
1553 } 1553 }
1554 } // namespace quota 1554 } // namespace quota
OLDNEW
« base/stl_util.h ('K') | « webkit/quota/quota_manager.cc ('k') | webkit/quota/quota_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698