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

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

Issue 785133006: Enable messaging over a navigator.connect initiated channel. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@navigator-connect_serviceside
Patch Set: add empty line Created 6 years 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 | « no previous file | content/browser/message_port_delegate.h » ('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) 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 storage::QuotaManager* GetQuotaManager() override { return NULL; } 144 storage::QuotaManager* GetQuotaManager() override { return NULL; }
145 content::AppCacheService* GetAppCacheService() override { return NULL; } 145 content::AppCacheService* GetAppCacheService() override { return NULL; }
146 storage::FileSystemContext* GetFileSystemContext() override { return NULL; } 146 storage::FileSystemContext* GetFileSystemContext() override { return NULL; }
147 storage::DatabaseTracker* GetDatabaseTracker() override { return NULL; } 147 storage::DatabaseTracker* GetDatabaseTracker() override { return NULL; }
148 content::DOMStorageContext* GetDOMStorageContext() override { return NULL; } 148 content::DOMStorageContext* GetDOMStorageContext() override { return NULL; }
149 content::IndexedDBContext* GetIndexedDBContext() override { return NULL; } 149 content::IndexedDBContext* GetIndexedDBContext() override { return NULL; }
150 content::ServiceWorkerContext* GetServiceWorkerContext() override { 150 content::ServiceWorkerContext* GetServiceWorkerContext() override {
151 return NULL; 151 return NULL;
152 } 152 }
153 content::GeofencingManager* GetGeofencingManager() override { return NULL; } 153 content::GeofencingManager* GetGeofencingManager() override { return NULL; }
154 content::NavigatorConnectContext* GetNavigatorConnectContext() override {
155 return nullptr;
156 }
154 157
155 content::HostZoomMap* GetHostZoomMap() override { return NULL; } 158 content::HostZoomMap* GetHostZoomMap() override { return NULL; }
156 content::HostZoomLevelContext* GetHostZoomLevelContext() override { 159 content::HostZoomLevelContext* GetHostZoomLevelContext() override {
157 return NULL; 160 return NULL;
158 } 161 }
159 content::ZoomLevelDelegate* GetZoomLevelDelegate() override { return NULL; } 162 content::ZoomLevelDelegate* GetZoomLevelDelegate() override { return NULL; }
160 163
161 void ClearDataForOrigin(uint32 remove_mask, 164 void ClearDataForOrigin(uint32 remove_mask,
162 uint32 quota_storage_remove_mask, 165 uint32 quota_storage_remove_mask,
163 const GURL& storage_origin, 166 const GURL& storage_origin,
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after
1820 EXPECT_EQ(1u, tester.clear_count()); 1823 EXPECT_EQ(1u, tester.clear_count());
1821 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); 1824 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode());
1822 } 1825 }
1823 1826
1824 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { 1827 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) {
1825 BlockUntilBrowsingDataRemoved( 1828 BlockUntilBrowsingDataRemoved(
1826 BrowsingDataRemover::EVERYTHING, 1829 BrowsingDataRemover::EVERYTHING,
1827 BrowsingDataRemover::REMOVE_HISTORY | 1830 BrowsingDataRemover::REMOVE_HISTORY |
1828 BrowsingDataRemover::REMOVE_COOKIES, false); 1831 BrowsingDataRemover::REMOVE_COOKIES, false);
1829 } 1832 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/message_port_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698