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

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

Issue 308103004: IndexedDB: Using a mock IndexedDBFactory for unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use GoogleMock with std::pair types Created 6 years, 5 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 f5d5115332a6ebf1d4c274d7849c767644a49e8a..23a9350ac853dcbfa4d45233da40280833ea764a 100644
--- a/content/browser/indexed_db/indexed_db_factory_impl.h
+++ b/content/browser/indexed_db/indexed_db_factory_impl.h
@@ -5,6 +5,10 @@
#ifndef CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_
#define CONTENT_BROWSER_INDEXED_DB_INDEXED_DB_FACTORY_IMPL_H_
+#include <map>
+#include <set>
+#include <string>
+
#include "content/browser/indexed_db/indexed_db_factory.h"
namespace content {
@@ -41,8 +45,8 @@ class CONTENT_EXPORT IndexedDBFactoryImpl : public IndexedDBFactory {
const GURL& origin_url,
const IndexedDBDatabaseError& error) OVERRIDE;
- virtual std::pair<OriginDBMapIterator, OriginDBMapIterator>
- GetOpenDatabasesForOrigin(const GURL& origin_url) const OVERRIDE;
+ virtual OriginDBs GetOpenDatabasesForOrigin(
+ const GURL& origin_url) const OVERRIDE;
virtual void ForceClose(const GURL& origin_url) OVERRIDE;
« no previous file with comments | « content/browser/indexed_db/indexed_db_factory.h ('k') | content/browser/indexed_db/indexed_db_factory_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698