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

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

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « webkit/browser/quota/mock_storage_client.cc ('k') | webkit/browser/quota/quota_task.cc » ('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 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 <set> 5 #include <set>
6 #include <sstream> 6 #include <sstream>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/message_loop.h" 14 #include "base/message_loop.h"
15 #include "base/message_loop_proxy.h" 15 #include "base/message_loop/message_loop_proxy.h"
16 #include "base/stl_util.h" 16 #include "base/stl_util.h"
17 #include "base/sys_info.h" 17 #include "base/sys_info.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 #include "webkit/browser/quota/mock_special_storage_policy.h" 21 #include "webkit/browser/quota/mock_special_storage_policy.h"
22 #include "webkit/browser/quota/mock_storage_client.h" 22 #include "webkit/browser/quota/mock_storage_client.h"
23 #include "webkit/browser/quota/quota_database.h" 23 #include "webkit/browser/quota/quota_database.h"
24 #include "webkit/browser/quota/quota_manager.h" 24 #include "webkit/browser/quota/quota_manager.h"
25 25
(...skipping 2129 matching lines...) Expand 10 before | Expand all | Expand 10 after
2155 EXPECT_EQ(QuotaManager::kIncognitoDefaultQuotaLimit, quota()); 2155 EXPECT_EQ(QuotaManager::kIncognitoDefaultQuotaLimit, quota());
2156 2156
2157 GetUsageAndQuotaForWebApps(GURL("http://foo.com/"), kTemp); 2157 GetUsageAndQuotaForWebApps(GURL("http://foo.com/"), kTemp);
2158 base::MessageLoop::current()->RunUntilIdle(); 2158 base::MessageLoop::current()->RunUntilIdle();
2159 EXPECT_EQ(kQuotaStatusOk, status()); 2159 EXPECT_EQ(kQuotaStatusOk, status());
2160 EXPECT_EQ(10, usage()); 2160 EXPECT_EQ(10, usage());
2161 EXPECT_EQ(QuotaManager::kIncognitoDefaultQuotaLimit, quota()); 2161 EXPECT_EQ(QuotaManager::kIncognitoDefaultQuotaLimit, quota());
2162 } 2162 }
2163 2163
2164 } // namespace quota 2164 } // namespace quota
OLDNEW
« no previous file with comments | « webkit/browser/quota/mock_storage_client.cc ('k') | webkit/browser/quota/quota_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698