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

Unified Diff: Source/modules/indexeddb/InspectorIndexedDBAgent.cpp

Issue 148253005: DevTools: remove references to modules/indexeddb from core/inspector (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
Index: Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
diff --git a/Source/core/inspector/InspectorIndexedDBAgent.cpp b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
similarity index 99%
rename from Source/core/inspector/InspectorIndexedDBAgent.cpp
rename to Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
index 6936eb67db33efb656afe817588b40854c7de39f..7c523c07bb57dc8cf31026187b572a77e176a32e 100644
--- a/Source/core/inspector/InspectorIndexedDBAgent.cpp
+++ b/Source/modules/indexeddb/InspectorIndexedDBAgent.cpp
@@ -29,7 +29,7 @@
*/
#include "config.h"
-#include "core/inspector/InspectorIndexedDBAgent.h"
+#include "modules/indexeddb/InspectorIndexedDBAgent.h"
#include "bindings/v8/ExceptionState.h"
#include "bindings/v8/ExceptionStatePlaceholder.h"
@@ -38,10 +38,10 @@
#include "core/dom/Document.h"
#include "core/events/Event.h"
#include "core/events/EventListener.h"
+#include "core/frame/Frame.h"
#include "core/inspector/InjectedScript.h"
#include "core/inspector/InspectorPageAgent.h"
#include "core/inspector/InspectorState.h"
-#include "core/frame/Frame.h"
#include "modules/indexeddb/DOMWindowIndexedDatabase.h"
#include "modules/indexeddb/IDBCursor.h"
#include "modules/indexeddb/IDBCursorWithValue.h"
@@ -350,8 +350,9 @@ static PassRefPtr<IDBKey> idbKeyFromInspectorObject(JSONObject* key)
keyArray.append(idbKeyFromInspectorObject(object.get()));
}
idbKey = IDBKey::createArray(keyArray);
- } else
+ } else {
return 0;
+ }
return idbKey.release();
}

Powered by Google App Engine
This is Rietveld 408576698