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

Side by Side Diff: content/common/indexed_db/proxy_webidbfactory_impl.cc

Issue 11227033: Move a bunch of code in content\common (as well as a few left in renderer) to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 2 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/common/indexed_db/proxy_webidbfactory_impl.h" 5 #include "content/common/indexed_db/proxy_webidbfactory_impl.h"
6 6
7 #include "content/common/indexed_db/indexed_db_dispatcher.h" 7 #include "content/common/indexed_db/indexed_db_dispatcher.h"
8 #include "content/common/child_thread.h" 8 #include "content/common/child_thread.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h"
11 11
12 using WebKit::WebDOMStringList; 12 using WebKit::WebDOMStringList;
13 using WebKit::WebFrame; 13 using WebKit::WebFrame;
14 using WebKit::WebIDBCallbacks; 14 using WebKit::WebIDBCallbacks;
15 using WebKit::WebIDBDatabase; 15 using WebKit::WebIDBDatabase;
16 using WebKit::WebIDBDatabaseCallbacks; 16 using WebKit::WebIDBDatabaseCallbacks;
17 using WebKit::WebSecurityOrigin; 17 using WebKit::WebSecurityOrigin;
18 using WebKit::WebString; 18 using WebKit::WebString;
19 19
20 namespace content {
21
20 RendererWebIDBFactoryImpl::RendererWebIDBFactoryImpl() { 22 RendererWebIDBFactoryImpl::RendererWebIDBFactoryImpl() {
21 } 23 }
22 24
23 RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() { 25 RendererWebIDBFactoryImpl::~RendererWebIDBFactoryImpl() {
24 } 26 }
25 27
26 void RendererWebIDBFactoryImpl::getDatabaseNames( 28 void RendererWebIDBFactoryImpl::getDatabaseNames(
27 WebIDBCallbacks* callbacks, 29 WebIDBCallbacks* callbacks,
28 const WebSecurityOrigin& origin, 30 const WebSecurityOrigin& origin,
29 WebFrame* web_frame, 31 WebFrame* web_frame,
(...skipping 27 matching lines...) Expand all
57 const WebSecurityOrigin& origin, 59 const WebSecurityOrigin& origin,
58 WebFrame* web_frame, 60 WebFrame* web_frame,
59 const WebString& data_dir) { 61 const WebString& data_dir) {
60 // Don't send the data_dir. We know what we want on the Browser side of 62 // Don't send the data_dir. We know what we want on the Browser side of
61 // things. 63 // things.
62 IndexedDBDispatcher* dispatcher = 64 IndexedDBDispatcher* dispatcher =
63 IndexedDBDispatcher::ThreadSpecificInstance(); 65 IndexedDBDispatcher::ThreadSpecificInstance();
64 dispatcher->RequestIDBFactoryDeleteDatabase( 66 dispatcher->RequestIDBFactoryDeleteDatabase(
65 name, callbacks, origin.databaseIdentifier(), web_frame); 67 name, callbacks, origin.databaseIdentifier(), web_frame);
66 } 68 }
69
70 } // namespace content
OLDNEW
« no previous file with comments | « content/common/indexed_db/proxy_webidbfactory_impl.h ('k') | content/common/indexed_db/proxy_webidbindex_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698