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

Side by Side Diff: content/browser/in_process_webkit/indexed_db_callbacks.h

Issue 7889024: Implementation of IDBFactory::getDatabaseNames (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove unnecessary #includes Created 9 years, 3 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
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_callbacks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ 5 #ifndef CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_
6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ 6 #define CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 IndexedDBCallbacks( 104 IndexedDBCallbacks(
105 IndexedDBDispatcherHost* dispatcher_host, int32 response_id) 105 IndexedDBDispatcherHost* dispatcher_host, int32 response_id)
106 : IndexedDBCallbacksBase(dispatcher_host, response_id) { } 106 : IndexedDBCallbacksBase(dispatcher_host, response_id) { }
107 107
108 virtual void onSuccess(const WebKit::WebIDBKey& value); 108 virtual void onSuccess(const WebKit::WebIDBKey& value);
109 109
110 private: 110 private:
111 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); 111 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks);
112 }; 112 };
113 113
114 // WebDOMStringList is implemented in WebKit as opposed to being an
115 // interface Chromium implements. Thus we pass a const ___& version and thus
116 // we need this specialization.
117 template <>
118 class IndexedDBCallbacks<WebKit::WebDOMStringList>
119 : public IndexedDBCallbacksBase {
120 public:
121 IndexedDBCallbacks(
122 IndexedDBDispatcherHost* dispatcher_host, int32 response_id)
123 : IndexedDBCallbacksBase(dispatcher_host, response_id) { }
124
125 virtual void onSuccess(const WebKit::WebDOMStringList& value);
126
127 private:
128 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks);
129 };
130
114 // WebSerializedScriptValue is implemented in WebKit as opposed to being an 131 // WebSerializedScriptValue is implemented in WebKit as opposed to being an
115 // interface Chromium implements. Thus we pass a const ___& version and thus 132 // interface Chromium implements. Thus we pass a const ___& version and thus
116 // we need this specialization. 133 // we need this specialization.
117 template <> 134 template <>
118 class IndexedDBCallbacks<WebKit::WebSerializedScriptValue> 135 class IndexedDBCallbacks<WebKit::WebSerializedScriptValue>
119 : public IndexedDBCallbacksBase { 136 : public IndexedDBCallbacksBase {
120 public: 137 public:
121 IndexedDBCallbacks( 138 IndexedDBCallbacks(
122 IndexedDBDispatcherHost* dispatcher_host, int32 response_id) 139 IndexedDBDispatcherHost* dispatcher_host, int32 response_id)
123 : IndexedDBCallbacksBase(dispatcher_host, response_id) { } 140 : IndexedDBCallbacksBase(dispatcher_host, response_id) { }
124 141
125 virtual void onSuccess(const WebKit::WebSerializedScriptValue& value); 142 virtual void onSuccess(const WebKit::WebSerializedScriptValue& value);
126 143
127 private: 144 private:
128 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks); 145 DISALLOW_IMPLICIT_CONSTRUCTORS(IndexedDBCallbacks);
129 }; 146 };
130 147
131 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_ 148 #endif // CONTENT_BROWSER_IN_PROCESS_WEBKIT_INDEXED_DB_CALLBACKS_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/in_process_webkit/indexed_db_callbacks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698