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

Side by Side Diff: chrome/renderer/indexed_db_dispatcher.cc

Issue 6672057: Move all the message files in chrome that belong in content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/renderer/indexed_db_dispatcher.h" 5 #include "chrome/renderer/indexed_db_dispatcher.h"
6 6
7 #include "chrome/common/indexed_db_messages.h"
8 #include "chrome/renderer/render_thread.h" 7 #include "chrome/renderer/render_thread.h"
9 #include "chrome/renderer/render_view.h" 8 #include "chrome/renderer/render_view.h"
10 #include "chrome/renderer/renderer_webidbcursor_impl.h" 9 #include "chrome/renderer/renderer_webidbcursor_impl.h"
11 #include "chrome/renderer/renderer_webidbdatabase_impl.h" 10 #include "chrome/renderer/renderer_webidbdatabase_impl.h"
12 #include "chrome/renderer/renderer_webidbindex_impl.h" 11 #include "chrome/renderer/renderer_webidbindex_impl.h"
13 #include "chrome/renderer/renderer_webidbobjectstore_impl.h" 12 #include "chrome/renderer/renderer_webidbobjectstore_impl.h"
14 #include "chrome/renderer/renderer_webidbtransaction_impl.h" 13 #include "chrome/renderer/renderer_webidbtransaction_impl.h"
14 #include "content/common/indexed_db_messages.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h" 16 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseCallbac ks.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h " 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBDatabaseError.h "
18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h" 18 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyRange.h"
19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h" 19 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h" 20 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSerializedScriptVa lue.h"
21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h"
22 22
23 using WebKit::WebExceptionCode; 23 using WebKit::WebExceptionCode;
24 using WebKit::WebFrame; 24 using WebKit::WebFrame;
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 446
447 void IndexedDBDispatcher::OnVersionChange(int32 database_id, 447 void IndexedDBDispatcher::OnVersionChange(int32 database_id,
448 const string16& newVersion) { 448 const string16& newVersion) {
449 WebIDBDatabaseCallbacks* callbacks = 449 WebIDBDatabaseCallbacks* callbacks =
450 pending_database_callbacks_.Lookup(database_id); 450 pending_database_callbacks_.Lookup(database_id);
451 // callbacks would be NULL if a versionchange event is received after close 451 // callbacks would be NULL if a versionchange event is received after close
452 // has been called. 452 // has been called.
453 if (callbacks) 453 if (callbacks)
454 callbacks->onVersionChange(newVersion); 454 callbacks->onVersionChange(newVersion);
455 } 455 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698