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

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

Issue 393133002: Migrate HostZoomMap to live in StoragePartition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to 291677. Created 6 years, 3 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) 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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { 157 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE {
158 return NULL; 158 return NULL;
159 } 159 }
160 virtual content::IndexedDBContext* GetIndexedDBContext() OVERRIDE { 160 virtual content::IndexedDBContext* GetIndexedDBContext() OVERRIDE {
161 return NULL; 161 return NULL;
162 } 162 }
163 virtual content::ServiceWorkerContext* GetServiceWorkerContext() OVERRIDE { 163 virtual content::ServiceWorkerContext* GetServiceWorkerContext() OVERRIDE {
164 return NULL; 164 return NULL;
165 } 165 }
166 166
167 virtual content::HostZoomMap* GetHostZoomMap() OVERRIDE {
168 return NULL;
169 }
170
171 virtual content::HostZoomLevelContext* GetHostZoomLevelContext() OVERRIDE {
172 return NULL;
173 }
174
175 virtual PrefService* GetZoomLevelPrefs() OVERRIDE {
176 return NULL;
177 }
178
167 virtual void ClearDataForOrigin(uint32 remove_mask, 179 virtual void ClearDataForOrigin(uint32 remove_mask,
168 uint32 quota_storage_remove_mask, 180 uint32 quota_storage_remove_mask,
169 const GURL& storage_origin, 181 const GURL& storage_origin,
170 net::URLRequestContextGetter* rq_context, 182 net::URLRequestContextGetter* rq_context,
171 const base::Closure& callback) OVERRIDE { 183 const base::Closure& callback) OVERRIDE {
172 BrowserThread::PostTask(BrowserThread::UI, 184 BrowserThread::PostTask(BrowserThread::UI,
173 FROM_HERE, 185 FROM_HERE,
174 base::Bind(&TestStoragePartition::AsyncRunCallback, 186 base::Bind(&TestStoragePartition::AsyncRunCallback,
175 base::Unretained(this), 187 base::Unretained(this),
176 callback)); 188 callback));
(...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after
1830 EXPECT_EQ(1u, tester.clear_count()); 1842 EXPECT_EQ(1u, tester.clear_count());
1831 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode()); 1843 EXPECT_EQ(CLEAR_CONTEXTS, tester.last_clear_mode());
1832 } 1844 }
1833 1845
1834 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) { 1846 TEST_F(BrowsingDataRemoverTest, DomainReliability_NoMonitor) {
1835 BlockUntilBrowsingDataRemoved( 1847 BlockUntilBrowsingDataRemoved(
1836 BrowsingDataRemover::EVERYTHING, 1848 BrowsingDataRemover::EVERYTHING,
1837 BrowsingDataRemover::REMOVE_HISTORY | 1849 BrowsingDataRemover::REMOVE_HISTORY |
1838 BrowsingDataRemover::REMOVE_COOKIES, false); 1850 BrowsingDataRemover::REMOVE_COOKIES, false);
1839 } 1851 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_page_zoom.cc » ('j') | chrome/browser/renderer_preferences_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698