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

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

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 11 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 "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"
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "base/platform_file.h" 12 #include "base/platform_file.h"
13 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" 13 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h"
14 #include "chrome/browser/history/history.h" 14 #include "chrome/browser/history/history.h"
15 #include "chrome/common/chrome_notification_types.h" 15 #include "chrome/common/chrome_notification_types.h"
16 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
17 #include "chrome/test/base/testing_pref_service.h" 17 #include "chrome/test/base/testing_pref_service.h"
18 #include "chrome/test/base/testing_profile.h" 18 #include "chrome/test/base/testing_profile.h"
19 #include "content/public/browser/notification_service.h" 19 #include "content/public/browser/notification_service.h"
20 #include "content/test/test_browser_thread.h" 20 #include "content/test/test_browser_thread.h"
21 #include "net/base/cookie_monster.h" 21 #include "net/base/cookie_monster.h"
22 #include "net/url_request/url_request_context.h" 22 #include "net/url_request/url_request_context.h"
23 #include "net/url_request/url_request_context_getter.h" 23 #include "net/url_request/url_request_context_getter.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 #include "webkit/fileapi/file_system_context.h" 25 #include "webkit/fileapi/file_system_context.h"
26 #include "webkit/fileapi/file_system_file_util.h" 26 #include "webkit/fileapi/file_system_file_util.h"
27 #include "webkit/fileapi/file_system_operation_context.h" 27 #include "webkit/fileapi/file_system_operation_context.h"
28 #include "webkit/fileapi/file_system_path_manager.h"
29 #include "webkit/fileapi/sandbox_mount_point_provider.h" 28 #include "webkit/fileapi/sandbox_mount_point_provider.h"
30 #include "webkit/quota/mock_quota_manager.h" 29 #include "webkit/quota/mock_quota_manager.h"
31 #include "webkit/quota/quota_manager.h" 30 #include "webkit/quota/quota_manager.h"
32 #include "webkit/quota/quota_types.h" 31 #include "webkit/quota/quota_types.h"
33 32
34 using content::BrowserThread; 33 using content::BrowserThread;
35 34
36 namespace { 35 namespace {
37 36
38 const char kTestkOrigin1[] = "http://host1:1/"; 37 const char kTestkOrigin1[] = "http://host1:1/";
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 quota::kStorageTypeTemporary)); 557 quota::kStorageTypeTemporary));
559 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin1, 558 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin1,
560 quota::kStorageTypePersistent)); 559 quota::kStorageTypePersistent));
561 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin2, 560 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin2,
562 quota::kStorageTypePersistent)); 561 quota::kStorageTypePersistent));
563 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin3, 562 EXPECT_FALSE(GetMockManager()->OriginHasData(kOrigin3,
564 quota::kStorageTypePersistent)); 563 quota::kStorageTypePersistent));
565 } 564 }
566 565
567 } // namespace 566 } // namespace
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698