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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc

Issue 8912009: Move BrowserMessageFilter to public, and into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to LKGR. Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/in_process_webkit/indexed_db_dispatcher_host.h" 5 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "content/browser/in_process_webkit/indexed_db_callbacks.h" 10 #include "content/browser/in_process_webkit/indexed_db_callbacks.h"
(...skipping 12 matching lines...) Expand all
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h " 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h "
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" 30 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h"
31 #include "webkit/glue/webkit_glue.h" 31 #include "webkit/glue/webkit_glue.h"
32 32
33 using content::BrowserMessageFilter;
33 using content::BrowserThread; 34 using content::BrowserThread;
34 using content::UserMetricsAction; 35 using content::UserMetricsAction;
35 using WebKit::WebDOMStringList; 36 using WebKit::WebDOMStringList;
36 using WebKit::WebExceptionCode; 37 using WebKit::WebExceptionCode;
37 using WebKit::WebIDBCallbacks; 38 using WebKit::WebIDBCallbacks;
38 using WebKit::WebIDBCursor; 39 using WebKit::WebIDBCursor;
39 using WebKit::WebIDBDatabase; 40 using WebKit::WebIDBDatabase;
40 using WebKit::WebIDBDatabaseError; 41 using WebKit::WebIDBDatabaseError;
41 using WebKit::WebIDBIndex; 42 using WebKit::WebIDBIndex;
42 using WebKit::WebIDBKey; 43 using WebKit::WebIDBKey;
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1104 } 1105 }
1105 idb_transaction->didCompleteTaskEvents(); 1106 idb_transaction->didCompleteTaskEvents();
1106 } 1107 }
1107 1108
1108 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( 1109 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed(
1109 int32 object_id) { 1110 int32 object_id) {
1110 transaction_size_map_.erase(object_id); 1111 transaction_size_map_.erase(object_id);
1111 transaction_url_map_.erase(object_id); 1112 transaction_url_map_.erase(object_id);
1112 parent_->DestroyObject(&map_, object_id); 1113 parent_->DestroyObject(&map_, object_id);
1113 } 1114 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698