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

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

Issue 8277018: Move content_switches to content\public\common. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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) 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/command_line.h" 7 #include "base/command_line.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "content/browser/browser_thread.h" 9 #include "content/browser/browser_thread.h"
10 #include "content/browser/in_process_webkit/indexed_db_callbacks.h" 10 #include "content/browser/in_process_webkit/indexed_db_callbacks.h"
11 #include "content/browser/in_process_webkit/indexed_db_database_callbacks.h" 11 #include "content/browser/in_process_webkit/indexed_db_database_callbacks.h"
12 #include "content/browser/in_process_webkit/indexed_db_transaction_callbacks.h" 12 #include "content/browser/in_process_webkit/indexed_db_transaction_callbacks.h"
13 #include "content/browser/renderer_host/render_message_filter.h" 13 #include "content/browser/renderer_host/render_message_filter.h"
14 #include "content/browser/user_metrics.h" 14 #include "content/browser/user_metrics.h"
15 #include "content/common/content_switches.h"
16 #include "content/common/indexed_db_messages.h" 15 #include "content/common/indexed_db_messages.h"
17 #include "content/common/result_codes.h" 16 #include "content/common/result_codes.h"
17 #include "content/public/common/content_switches.h"
18 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDOMStringList.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBCursor.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabase.h"
22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h " 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h "
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBIndex.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h" 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBObjectStore.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBTransaction.h"
(...skipping 1061 matching lines...) Expand 10 before | Expand all | Expand 10 after
1089 } 1089 }
1090 idb_transaction->didCompleteTaskEvents(); 1090 idb_transaction->didCompleteTaskEvents();
1091 } 1091 }
1092 1092
1093 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed( 1093 void IndexedDBDispatcherHost::TransactionDispatcherHost::OnDestroyed(
1094 int32 object_id) { 1094 int32 object_id) {
1095 transaction_size_map_.erase(object_id); 1095 transaction_size_map_.erase(object_id);
1096 transaction_url_map_.erase(object_id); 1096 transaction_url_map_.erase(object_id);
1097 parent_->DestroyObject(&map_, object_id); 1097 parent_->DestroyObject(&map_, object_id);
1098 } 1098 }
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_context.cc ('k') | content/browser/in_process_webkit/webkit_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698