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

Side by Side Diff: Source/modules/indexeddb/InspectorIndexedDBAgent.cpp

Issue 403013002: Rename WebCore to blink in Modules (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "modules/indexeddb/IDBOpenDBRequest.h" 56 #include "modules/indexeddb/IDBOpenDBRequest.h"
57 #include "modules/indexeddb/IDBPendingTransactionMonitor.h" 57 #include "modules/indexeddb/IDBPendingTransactionMonitor.h"
58 #include "modules/indexeddb/IDBRequest.h" 58 #include "modules/indexeddb/IDBRequest.h"
59 #include "modules/indexeddb/IDBTransaction.h" 59 #include "modules/indexeddb/IDBTransaction.h"
60 #include "platform/JSONValues.h" 60 #include "platform/JSONValues.h"
61 #include "platform/weborigin/SecurityOrigin.h" 61 #include "platform/weborigin/SecurityOrigin.h"
62 #include "public/platform/WebIDBCursor.h" 62 #include "public/platform/WebIDBCursor.h"
63 #include "public/platform/WebIDBTypes.h" 63 #include "public/platform/WebIDBTypes.h"
64 #include "wtf/Vector.h" 64 #include "wtf/Vector.h"
65 65
66 using WebCore::TypeBuilder::Array; 66 using blink::TypeBuilder::Array;
67 using WebCore::TypeBuilder::IndexedDB::DatabaseWithObjectStores; 67 using blink::TypeBuilder::IndexedDB::DatabaseWithObjectStores;
68 using WebCore::TypeBuilder::IndexedDB::DataEntry; 68 using blink::TypeBuilder::IndexedDB::DataEntry;
69 using WebCore::TypeBuilder::IndexedDB::Key; 69 using blink::TypeBuilder::IndexedDB::Key;
70 using WebCore::TypeBuilder::IndexedDB::KeyPath; 70 using blink::TypeBuilder::IndexedDB::KeyPath;
71 using WebCore::TypeBuilder::IndexedDB::KeyRange; 71 using blink::TypeBuilder::IndexedDB::KeyRange;
72 using WebCore::TypeBuilder::IndexedDB::ObjectStore; 72 using blink::TypeBuilder::IndexedDB::ObjectStore;
73 using WebCore::TypeBuilder::IndexedDB::ObjectStoreIndex; 73 using blink::TypeBuilder::IndexedDB::ObjectStoreIndex;
74 74
75 typedef WebCore::InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDat abaseNamesCallback RequestDatabaseNamesCallback; 75 typedef blink::InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDatab aseNamesCallback RequestDatabaseNamesCallback;
76 typedef WebCore::InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDat abaseCallback RequestDatabaseCallback; 76 typedef blink::InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDatab aseCallback RequestDatabaseCallback;
77 typedef WebCore::InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDat aCallback RequestDataCallback; 77 typedef blink::InspectorBackendDispatcher::IndexedDBCommandHandler::RequestDataC allback RequestDataCallback;
78 typedef WebCore::InspectorBackendDispatcher::CallbackBase RequestCallback; 78 typedef blink::InspectorBackendDispatcher::CallbackBase RequestCallback;
79 typedef WebCore::InspectorBackendDispatcher::IndexedDBCommandHandler::ClearObjec tStoreCallback ClearObjectStoreCallback; 79 typedef blink::InspectorBackendDispatcher::IndexedDBCommandHandler::ClearObjectS toreCallback ClearObjectStoreCallback;
80 80
81 namespace WebCore { 81 namespace blink {
82 82
83 namespace IndexedDBAgentState { 83 namespace IndexedDBAgentState {
84 static const char indexedDBAgentEnabled[] = "indexedDBAgentEnabled"; 84 static const char indexedDBAgentEnabled[] = "indexedDBAgentEnabled";
85 }; 85 };
86 86
87 namespace { 87 namespace {
88 88
89 class GetDatabaseNamesCallback FINAL : public EventListener { 89 class GetDatabaseNamesCallback FINAL : public EventListener {
90 WTF_MAKE_NONCOPYABLE(GetDatabaseNamesCallback); 90 WTF_MAKE_NONCOPYABLE(GetDatabaseNamesCallback);
91 public: 91 public:
(...skipping 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
767 IDBFactory* idbFactory = assertIDBFactory(errorString, document); 767 IDBFactory* idbFactory = assertIDBFactory(errorString, document);
768 if (!idbFactory) 768 if (!idbFactory)
769 return; 769 return;
770 770
771 ScriptState* scriptState = ScriptState::forMainWorld(frame); 771 ScriptState* scriptState = ScriptState::forMainWorld(frame);
772 ScriptState::Scope scope(scriptState); 772 ScriptState::Scope scope(scriptState);
773 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(scriptS tate, objectStoreName, requestCallback); 773 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(scriptS tate, objectStoreName, requestCallback);
774 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName ); 774 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName );
775 } 775 }
776 776
777 } // namespace WebCore 777 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/indexeddb/InspectorIndexedDBAgent.h ('k') | Source/modules/indexeddb/WebIDBCallbacksImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698