| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browsing_data_remover.h" | 5 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 virtual base::FilePath GetPath() OVERRIDE { return base::FilePath(); } | 131 virtual base::FilePath GetPath() OVERRIDE { return base::FilePath(); } |
| 132 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE { | 132 virtual net::URLRequestContextGetter* GetURLRequestContext() OVERRIDE { |
| 133 return NULL; | 133 return NULL; |
| 134 } | 134 } |
| 135 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE { | 135 virtual net::URLRequestContextGetter* GetMediaURLRequestContext() OVERRIDE { |
| 136 return NULL; | 136 return NULL; |
| 137 } | 137 } |
| 138 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE { | 138 virtual quota::QuotaManager* GetQuotaManager() OVERRIDE { |
| 139 return NULL; | 139 return NULL; |
| 140 } | 140 } |
| 141 virtual appcache::AppCacheService* GetAppCacheService() OVERRIDE { | 141 virtual content::AppCacheService* GetAppCacheService() OVERRIDE { |
| 142 return NULL; | 142 return NULL; |
| 143 } | 143 } |
| 144 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE { | 144 virtual fileapi::FileSystemContext* GetFileSystemContext() OVERRIDE { |
| 145 return NULL; | 145 return NULL; |
| 146 } | 146 } |
| 147 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE { | 147 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE { |
| 148 return NULL; | 148 return NULL; |
| 149 } | 149 } |
| 150 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { | 150 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { |
| 151 return NULL; | 151 return NULL; |
| (...skipping 1536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1688 } | 1688 } |
| 1689 | 1689 |
| 1690 TEST_F(BrowsingDataRemoverTest, DomainReliability_Contexts_ProtectedOrigins) { | 1690 TEST_F(BrowsingDataRemoverTest, DomainReliability_Contexts_ProtectedOrigins) { |
| 1691 DomainReliabilityMonitor* monitor = UseProfileWithDomainReliabilityMonitor(); | 1691 DomainReliabilityMonitor* monitor = UseProfileWithDomainReliabilityMonitor(); |
| 1692 BlockUntilBrowsingDataRemoved( | 1692 BlockUntilBrowsingDataRemoved( |
| 1693 BrowsingDataRemover::EVERYTHING, | 1693 BrowsingDataRemover::EVERYTHING, |
| 1694 BrowsingDataRemover::REMOVE_COOKIES, true); | 1694 BrowsingDataRemover::REMOVE_COOKIES, true); |
| 1695 EXPECT_TRUE(monitor->was_cleared_for_testing()); | 1695 EXPECT_TRUE(monitor->was_cleared_for_testing()); |
| 1696 EXPECT_EQ(CLEAR_CONTEXTS, monitor->cleared_mode_for_testing()); | 1696 EXPECT_EQ(CLEAR_CONTEXTS, monitor->cleared_mode_for_testing()); |
| 1697 } | 1697 } |
| OLD | NEW |