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

Side by Side Diff: chrome/browser/browsing_data_remover_unittest.cc

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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 | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/bug_report_data.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 (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 "chrome/browser/browsing_data_remover.h" 5 #include "chrome/browser/browsing_data_remover.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 11 matching lines...) Expand all
22 #include "testing/gtest/include/gtest/gtest.h" 22 #include "testing/gtest/include/gtest/gtest.h"
23 #include "webkit/fileapi/file_system_context.h" 23 #include "webkit/fileapi/file_system_context.h"
24 #include "webkit/fileapi/file_system_file_util.h" 24 #include "webkit/fileapi/file_system_file_util.h"
25 #include "webkit/fileapi/file_system_operation_context.h" 25 #include "webkit/fileapi/file_system_operation_context.h"
26 #include "webkit/fileapi/file_system_path_manager.h" 26 #include "webkit/fileapi/file_system_path_manager.h"
27 #include "webkit/fileapi/sandbox_mount_point_provider.h" 27 #include "webkit/fileapi/sandbox_mount_point_provider.h"
28 #include "webkit/quota/mock_quota_manager.h" 28 #include "webkit/quota/mock_quota_manager.h"
29 #include "webkit/quota/quota_manager.h" 29 #include "webkit/quota/quota_manager.h"
30 #include "webkit/quota/quota_types.h" 30 #include "webkit/quota/quota_types.h"
31 31
32 using content::BrowserThread;
33
32 namespace { 34 namespace {
33 35
34 const char kTestkOrigin1[] = "http://host1:1/"; 36 const char kTestkOrigin1[] = "http://host1:1/";
35 const char kTestkOrigin2[] = "http://host2:1/"; 37 const char kTestkOrigin2[] = "http://host2:1/";
36 const char kTestkOrigin3[] = "http://host3:1/"; 38 const char kTestkOrigin3[] = "http://host3:1/";
37 39
38 const GURL kOrigin1(kTestkOrigin1); 40 const GURL kOrigin1(kTestkOrigin1);
39 const GURL kOrigin2(kTestkOrigin2); 41 const GURL kOrigin2(kTestkOrigin2);
40 const GURL kOrigin3(kTestkOrigin3); 42 const GURL kOrigin3(kTestkOrigin3);
41 43
(...skipping 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
507 quota::kStorageTypeTemporary)); 509 quota::kStorageTypeTemporary));
508 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin1, 510 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin1,
509 quota::kStorageTypePersistent)); 511 quota::kStorageTypePersistent));
510 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin2, 512 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin2,
511 quota::kStorageTypePersistent)); 513 quota::kStorageTypePersistent));
512 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin3, 514 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin3,
513 quota::kStorageTypePersistent)); 515 quota::kStorageTypePersistent));
514 } 516 }
515 517
516 } // namespace 518 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/bug_report_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698