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

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

Issue 127573002: Add basic browser test for EmbeddedWorker/ServiceWorker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright fix Created 6 years, 11 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/embedded_worker_instance.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 <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*
191 GetServiceWorkerContext() OVERRIDE {
192 return NULL;
193 }
190 194
191 virtual void ClearDataForOrigin( 195 virtual void ClearDataForOrigin(
192 uint32 remove_mask, 196 uint32 remove_mask,
193 uint32 quota_storage_remove_mask, 197 uint32 quota_storage_remove_mask,
194 const GURL& storage_origin, 198 const GURL& storage_origin,
195 net::URLRequestContextGetter* rq_context) OVERRIDE {} 199 net::URLRequestContextGetter* rq_context) OVERRIDE {}
196 200
197 virtual void ClearData(uint32 remove_mask, 201 virtual void ClearData(uint32 remove_mask,
198 uint32 quota_storage_remove_mask, 202 uint32 quota_storage_remove_mask,
199 const GURL& storage_origin, 203 const GURL& storage_origin,
(...skipping 1392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _)) 1596 EXPECT_CALL(*cryptohome_client, TpmAttestationDeleteKeys(_, _, _, _))
1593 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall))); 1597 .WillOnce(WithArgs<3>(Invoke(FakeDBusCall)));
1594 1598
1595 BlockUntilBrowsingDataRemoved( 1599 BlockUntilBrowsingDataRemoved(
1596 BrowsingDataRemover::EVERYTHING, 1600 BrowsingDataRemover::EVERYTHING,
1597 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false); 1601 BrowsingDataRemover::REMOVE_CONTENT_LICENSES, false);
1598 1602
1599 chromeos::DBusThreadManager::Shutdown(); 1603 chromeos::DBusThreadManager::Shutdown();
1600 } 1604 }
1601 #endif 1605 #endif
OLDNEW
« no previous file with comments | « no previous file | content/browser/service_worker/embedded_worker_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698