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

Unified Diff: content/browser/indexed_db/indexed_db_factory_impl.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/indexed_db/indexed_db_factory_impl.h
diff --git a/content/browser/indexed_db/indexed_db_factory_impl.h b/content/browser/indexed_db/indexed_db_factory_impl.h
index a169b2e90b585e5d484e6d6819dbbe2f9ff587a6..da9d2a9a45b035a38313aff0704ea6466a7cc304 100644
--- a/content/browser/indexed_db/indexed_db_factory_impl.h
+++ b/content/browser/indexed_db/indexed_db_factory_impl.h
@@ -20,53 +20,51 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory {
explicit IndexedDBFactoryImpl(IndexedDBContextImpl* context);
// content::IndexedDBFactory overrides:
- virtual void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier,
- bool forcedClose) override;
-
- virtual void GetDatabaseNames(
- scoped_refptr<IndexedDBCallbacks> callbacks,
- const GURL& origin_url,
- const base::FilePath& data_directory,
- net::URLRequestContext* request_context) override;
- virtual void Open(const base::string16& name,
- const IndexedDBPendingConnection& connection,
- net::URLRequestContext* request_context,
- const GURL& origin_url,
- const base::FilePath& data_directory) override;
-
- virtual void DeleteDatabase(const base::string16& name,
- net::URLRequestContext* request_context,
- scoped_refptr<IndexedDBCallbacks> callbacks,
- const GURL& origin_url,
- const base::FilePath& data_directory) override;
-
- virtual void HandleBackingStoreFailure(const GURL& origin_url) override;
- virtual void HandleBackingStoreCorruption(
+ void ReleaseDatabase(const IndexedDBDatabase::Identifier& identifier,
+ bool forcedClose) override;
+
+ void GetDatabaseNames(scoped_refptr<IndexedDBCallbacks> callbacks,
+ const GURL& origin_url,
+ const base::FilePath& data_directory,
+ net::URLRequestContext* request_context) override;
+ void Open(const base::string16& name,
+ const IndexedDBPendingConnection& connection,
+ net::URLRequestContext* request_context,
+ const GURL& origin_url,
+ const base::FilePath& data_directory) override;
+
+ void DeleteDatabase(const base::string16& name,
+ net::URLRequestContext* request_context,
+ scoped_refptr<IndexedDBCallbacks> callbacks,
+ const GURL& origin_url,
+ const base::FilePath& data_directory) override;
+
+ void HandleBackingStoreFailure(const GURL& origin_url) override;
+ void HandleBackingStoreCorruption(
const GURL& origin_url,
const IndexedDBDatabaseError& error) override;
- virtual OriginDBs GetOpenDatabasesForOrigin(
- const GURL& origin_url) const override;
+ OriginDBs GetOpenDatabasesForOrigin(const GURL& origin_url) const override;
- virtual void ForceClose(const GURL& origin_url) override;
+ void ForceClose(const GURL& origin_url) override;
// Called by the IndexedDBContext destructor so the factory can do cleanup.
- virtual void ContextDestroyed() override;
+ void ContextDestroyed() override;
// Called by the IndexedDBActiveBlobRegistry.
- virtual void ReportOutstandingBlobs(const GURL& origin_url,
- bool blobs_outstanding) override;
+ void ReportOutstandingBlobs(const GURL& origin_url,
+ bool blobs_outstanding) override;
// Called by an IndexedDBDatabase when it is actually deleted.
- virtual void DatabaseDeleted(
+ void DatabaseDeleted(
const IndexedDBDatabase::Identifier& identifier) override;
- virtual size_t GetConnectionCount(const GURL& origin_url) const override;
+ size_t GetConnectionCount(const GURL& origin_url) const override;
protected:
- virtual ~IndexedDBFactoryImpl();
+ ~IndexedDBFactoryImpl() override;
- virtual scoped_refptr<IndexedDBBackingStore> OpenBackingStore(
+ scoped_refptr<IndexedDBBackingStore> OpenBackingStore(
const GURL& origin_url,
const base::FilePath& data_directory,
net::URLRequestContext* request_context,
@@ -75,7 +73,7 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory {
bool* disk_full,
leveldb::Status* s) override;
- virtual scoped_refptr<IndexedDBBackingStore> OpenBackingStoreHelper(
+ scoped_refptr<IndexedDBBackingStore> OpenBackingStoreHelper(
const GURL& origin_url,
const base::FilePath& data_directory,
net::URLRequestContext* request_context,
« no previous file with comments | « content/browser/indexed_db/indexed_db_dispatcher_host.h ('k') | content/browser/indexed_db/indexed_db_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698