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

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

Issue 208843004: Add the beginning of a public Service Worker API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch to a bool 'success' result. Created 6 years, 9 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
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_browsertest.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 (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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 } 180 }
181 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE { 181 virtual webkit_database::DatabaseTracker* GetDatabaseTracker() OVERRIDE {
182 return NULL; 182 return NULL;
183 } 183 }
184 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE { 184 virtual content::DOMStorageContext* GetDOMStorageContext() OVERRIDE {
185 return NULL; 185 return NULL;
186 } 186 }
187 virtual content::IndexedDBContext* GetIndexedDBContext() OVERRIDE { 187 virtual content::IndexedDBContext* GetIndexedDBContext() OVERRIDE {
188 return NULL; 188 return NULL;
189 } 189 }
190 virtual content::ServiceWorkerContextWrapper* 190 virtual content::ServiceWorkerContext* GetServiceWorkerContext() OVERRIDE {
191 GetServiceWorkerContext() OVERRIDE {
192 return NULL; 191 return NULL;
193 } 192 }
194 193
195 virtual void ClearDataForOrigin( 194 virtual void ClearDataForOrigin(
196 uint32 remove_mask, 195 uint32 remove_mask,
197 uint32 quota_storage_remove_mask, 196 uint32 quota_storage_remove_mask,
198 const GURL& storage_origin, 197 const GURL& storage_origin,
199 net::URLRequestContextGetter* rq_context) OVERRIDE {} 198 net::URLRequestContextGetter* rq_context) OVERRIDE {}
200 199
201 virtual void ClearData(uint32 remove_mask, 200 virtual void ClearData(uint32 remove_mask,
(...skipping 1394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _)) 1595 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _))
1597 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall))); 1596 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall)));
1598 1597
1599 BlockUntilBrowsingDataRemoved( 1598 BlockUntilBrowsingDataRemoved(
1600 BrowsingDataRemover::EVERYTHING, 1599 BrowsingDataRemover::EVERYTHING,
1601 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false); 1600 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false);
1602 1601
1603 chromeos::DBusThreadManager::Shutdown(); 1602 chromeos::DBusThreadManager::Shutdown();
1604 } 1603 }
1605 #endif 1604 #endif
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/service_worker_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698