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

Side by Side Diff: content/browser/browsing_data/browsing_data_remover_impl_unittest.cc

Issue 2976323002: Hook up ProfileIOData's URLRequestContext to a NetworkService. (Closed)
Patch Set: Response to comments Created 3 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/browser/renderer_host/render_process_host_impl.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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 7
8 #include <list> 8 #include <list>
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 ~TestStoragePartition() override {} 132 ~TestStoragePartition() override {}
133 133
134 // StoragePartition implementation. 134 // StoragePartition implementation.
135 base::FilePath GetPath() override { return base::FilePath(); } 135 base::FilePath GetPath() override { return base::FilePath(); }
136 net::URLRequestContextGetter* GetURLRequestContext() override { 136 net::URLRequestContextGetter* GetURLRequestContext() override {
137 return nullptr; 137 return nullptr;
138 } 138 }
139 net::URLRequestContextGetter* GetMediaURLRequestContext() override { 139 net::URLRequestContextGetter* GetMediaURLRequestContext() override {
140 return nullptr; 140 return nullptr;
141 } 141 }
142 mojom::NetworkContext* GetNetworkContext() override { return nullptr; }
142 storage::QuotaManager* GetQuotaManager() override { return nullptr; } 143 storage::QuotaManager* GetQuotaManager() override { return nullptr; }
143 AppCacheService* GetAppCacheService() override { return nullptr; } 144 AppCacheService* GetAppCacheService() override { return nullptr; }
144 storage::FileSystemContext* GetFileSystemContext() override { 145 storage::FileSystemContext* GetFileSystemContext() override {
145 return nullptr; 146 return nullptr;
146 } 147 }
147 storage::DatabaseTracker* GetDatabaseTracker() override { return nullptr; } 148 storage::DatabaseTracker* GetDatabaseTracker() override { return nullptr; }
148 DOMStorageContext* GetDOMStorageContext() override { return nullptr; } 149 DOMStorageContext* GetDOMStorageContext() override { return nullptr; }
149 IndexedDBContext* GetIndexedDBContext() override { return nullptr; } 150 IndexedDBContext* GetIndexedDBContext() override { return nullptr; }
150 ServiceWorkerContext* GetServiceWorkerContext() override { return nullptr; } 151 ServiceWorkerContext* GetServiceWorkerContext() override { return nullptr; }
151 CacheStorageContext* GetCacheStorageContext() override { return nullptr; } 152 CacheStorageContext* GetCacheStorageContext() override { return nullptr; }
(...skipping 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 1652
1652 // Add one more deletion and wait for it. 1653 // Add one more deletion and wait for it.
1653 BlockUntilBrowsingDataRemoved( 1654 BlockUntilBrowsingDataRemoved(
1654 base::Time(), base::Time::Max(), BrowsingDataRemover::DATA_TYPE_COOKIES, 1655 base::Time(), base::Time::Max(), BrowsingDataRemover::DATA_TYPE_COOKIES,
1655 BrowsingDataRemover::ORIGIN_TYPE_UNPROTECTED_WEB); 1656 BrowsingDataRemover::ORIGIN_TYPE_UNPROTECTED_WEB);
1656 1657
1657 EXPECT_FALSE(remover->is_removing()); 1658 EXPECT_FALSE(remover->is_removing());
1658 } 1659 }
1659 1660
1660 } // namespace content 1661 } // namespace content
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698