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

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: Fix #include guard name 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
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*
191 GetServiceWorkerContext() OVERRIDE { 191 GetServiceWorkerContext() OVERRIDE {
192 return NULL; 192 return NULL;
193 } 193 }
194 194
195 virtual void ClearDataForOrigin( 195 virtual void ClearDataForOrigin(
196 uint32 remove_mask, 196 uint32 remove_mask,
197 uint32 quota_storage_remove_mask, 197 uint32 quota_storage_remove_mask,
198 const GURL& storage_origin, 198 const GURL& storage_origin,
199 net::URLRequestContextGetter* rq_context) OVERRIDE {} 199 net::URLRequestContextGetter* rq_context) OVERRIDE {}
200 200
(...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _)) 1596 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _))
1597 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall))); 1597 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall)));
1598 1598
1599 BlockUntilBrowsingDataRemoved( 1599 BlockUntilBrowsingDataRemoved(
1600 BrowsingDataRemover::EVERYTHING, 1600 BrowsingDataRemover::EVERYTHING,
1601 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false); 1601 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false);
1602 1602
1603 chromeos::DBusThreadManager::Shutdown(); 1603 chromeos::DBusThreadManager::Shutdown();
1604 } 1604 }
1605 #endif 1605 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698