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

Unified Diff: content/browser/indexed_db/indexed_db_database.cc

Issue 166243002: Cleanup: Remove unneeded browser_thread.h includes in content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lint Created 6 years, 10 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
« no previous file with comments | « content/browser/gpu/gpu_ipc_browsertests.cc ('k') | content/browser/power_monitor_message_broadcaster.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/indexed_db/indexed_db_database.cc
diff --git a/content/browser/indexed_db/indexed_db_database.cc b/content/browser/indexed_db/indexed_db_database.cc
index 6e85c42dc58df8d8d3aab2180f62c440d07d5f29..6a7469da7f006ef9fb848ccd222d245cb11c44d4 100644
--- a/content/browser/indexed_db/indexed_db_database.cc
+++ b/content/browser/indexed_db/indexed_db_database.cc
@@ -21,7 +21,6 @@
#include "content/browser/indexed_db/indexed_db_transaction.h"
#include "content/common/indexed_db/indexed_db_key_path.h"
#include "content/common/indexed_db/indexed_db_key_range.h"
-#include "content/public/browser/browser_thread.h"
#include "third_party/WebKit/public/platform/WebIDBDatabaseException.h"
using base::ASCIIToUTF16;
@@ -692,6 +691,7 @@ static bool UpdateKeyGenerator(IndexedDBBackingStore* backing_store,
}
struct IndexedDBDatabase::PutOperationParams {
+ public:
Avi (use Gerrit) 2014/02/14 20:16:42 structs by default are public; this is not needed.
Lei Zhang 2014/02/14 21:11:06 Done.
PutOperationParams() {}
int64 object_store_id;
std::string value;
@@ -700,6 +700,7 @@ struct IndexedDBDatabase::PutOperationParams {
scoped_refptr<IndexedDBCallbacks> callbacks;
std::vector<IndexKeys> index_keys;
+ private:
DISALLOW_COPY_AND_ASSIGN(PutOperationParams);
};
@@ -954,6 +955,7 @@ void IndexedDBDatabase::SetIndexesReadyOperation(
}
struct IndexedDBDatabase::OpenCursorOperationParams {
+ public:
Avi (use Gerrit) 2014/02/14 20:16:42 ditto
OpenCursorOperationParams() {}
int64 object_store_id;
int64 index_id;
@@ -963,6 +965,7 @@ struct IndexedDBDatabase::OpenCursorOperationParams {
IndexedDBDatabase::TaskType task_type;
scoped_refptr<IndexedDBCallbacks> callbacks;
+ private:
DISALLOW_COPY_AND_ASSIGN(OpenCursorOperationParams);
};
« no previous file with comments | « content/browser/gpu/gpu_ipc_browsertests.cc ('k') | content/browser/power_monitor_message_broadcaster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698