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

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

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 11 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_ 5 #ifndef CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_
6 #define CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_ 6 #define CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/id_map.h" 9 #include "base/id_map.h"
10 #include "base/nullable_string16.h" 10 #include "base/nullable_string16.h"
(...skipping 12 matching lines...) Expand all
23 class WebIDBTransaction; 23 class WebIDBTransaction;
24 } 24 }
25 25
26 // Handle the indexed db related communication for this entire renderer. 26 // Handle the indexed db related communication for this entire renderer.
27 class IndexedDBDispatcher : public IPC::Channel::Listener { 27 class IndexedDBDispatcher : public IPC::Channel::Listener {
28 public: 28 public:
29 IndexedDBDispatcher(); 29 IndexedDBDispatcher();
30 ~IndexedDBDispatcher(); 30 ~IndexedDBDispatcher();
31 31
32 // IPC::Channel::Listener implementation. 32 // IPC::Channel::Listener implementation.
33 bool OnMessageReceived(const IPC::Message& msg); 33 virtual bool OnMessageReceived(const IPC::Message& msg);
34 34
35 void RequestIDBFactoryOpen( 35 void RequestIDBFactoryOpen(
36 const string16& name, 36 const string16& name,
37 WebKit::WebIDBCallbacks* callbacks, 37 WebKit::WebIDBCallbacks* callbacks,
38 const string16& origin, 38 const string16& origin,
39 WebKit::WebFrame* web_frame, 39 WebKit::WebFrame* web_frame,
40 uint64 maximum_size); 40 uint64 maximum_size);
41 41
42 void RequestIDBCursorUpdate( 42 void RequestIDBCursorUpdate(
43 const SerializedScriptValue& value, 43 const SerializedScriptValue& value,
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Careful! WebIDBCallbacks wraps non-threadsafe data types. It must be 144 // Careful! WebIDBCallbacks wraps non-threadsafe data types. It must be
145 // destroyed and used on the same thread it was created on. 145 // destroyed and used on the same thread it was created on.
146 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_; 146 IDMap<WebKit::WebIDBCallbacks, IDMapOwnPointer> pending_callbacks_;
147 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer> 147 IDMap<WebKit::WebIDBTransactionCallbacks, IDMapOwnPointer>
148 pending_transaction_callbacks_; 148 pending_transaction_callbacks_;
149 149
150 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher); 150 DISALLOW_COPY_AND_ASSIGN(IndexedDBDispatcher);
151 }; 151 };
152 152
153 #endif // CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_ 153 #endif // CHROME_RENDERER_INDEXED_DB_DISPATCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698