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

Side by Side Diff: Source/core/inspector/InspectorIndexedDBAgent.cpp

Issue 14323004: Make Frame's ScriptController an OwnPtr and remove the #include (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix Created 7 years, 8 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 #include "IDBOpenDBRequest.h" 55 #include "IDBOpenDBRequest.h"
56 #include "IDBPendingTransactionMonitor.h" 56 #include "IDBPendingTransactionMonitor.h"
57 #include "IDBRequest.h" 57 #include "IDBRequest.h"
58 #include "IDBTransaction.h" 58 #include "IDBTransaction.h"
59 #include "InjectedScript.h" 59 #include "InjectedScript.h"
60 #include "InspectorFrontend.h" 60 #include "InspectorFrontend.h"
61 #include "InspectorPageAgent.h" 61 #include "InspectorPageAgent.h"
62 #include "InspectorState.h" 62 #include "InspectorState.h"
63 #include "InspectorValues.h" 63 #include "InspectorValues.h"
64 #include "InstrumentingAgents.h" 64 #include "InstrumentingAgents.h"
65 #include "ScriptController.h"
65 #include "SecurityOrigin.h" 66 #include "SecurityOrigin.h"
66 67
67 #include <wtf/Vector.h> 68 #include <wtf/Vector.h>
68 69
69 using WebCore::TypeBuilder::Array; 70 using WebCore::TypeBuilder::Array;
70 using WebCore::TypeBuilder::IndexedDB::DatabaseWithObjectStores; 71 using WebCore::TypeBuilder::IndexedDB::DatabaseWithObjectStores;
71 using WebCore::TypeBuilder::IndexedDB::DataEntry; 72 using WebCore::TypeBuilder::IndexedDB::DataEntry;
72 using WebCore::TypeBuilder::IndexedDB::Key; 73 using WebCore::TypeBuilder::IndexedDB::Key;
73 using WebCore::TypeBuilder::IndexedDB::KeyPath; 74 using WebCore::TypeBuilder::IndexedDB::KeyPath;
74 using WebCore::TypeBuilder::IndexedDB::KeyRange; 75 using WebCore::TypeBuilder::IndexedDB::KeyRange;
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
782 v8::HandleScope handleScope; 783 v8::HandleScope handleScope;
783 v8::Handle<v8::Context> context = document->frame()->script()->mainWorldCont ext(); 784 v8::Handle<v8::Context> context = document->frame()->script()->mainWorldCont ext();
784 ASSERT(!context.IsEmpty()); 785 ASSERT(!context.IsEmpty());
785 v8::Context::Scope contextScope(context); 786 v8::Context::Scope contextScope(context);
786 787
787 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(documen t, objectStoreName, requestCallback); 788 RefPtr<ClearObjectStore> clearObjectStore = ClearObjectStore::create(documen t, objectStoreName, requestCallback);
788 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName ); 789 clearObjectStore->start(idbFactory, document->securityOrigin(), databaseName );
789 } 790 }
790 791
791 } // namespace WebCore 792 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.cpp ('k') | Source/core/inspector/InspectorInstrumentation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698