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

Side by Side Diff: content/common_child/indexed_db/proxy_webidbcursor_impl.h

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMMON_CHILD_INDEXED_DB_PROXY_WEBIDBCURSOR_IMPL_H_ 5 #ifndef CONTENT_COMMON_CHILD_INDEXED_DB_PROXY_WEBIDBCURSOR_IMPL_H_
6 #define CONTENT_COMMON_CHILD_INDEXED_DB_PROXY_WEBIDBCURSOR_IMPL_H_ 6 #define CONTENT_COMMON_CHILD_INDEXED_DB_PROXY_WEBIDBCURSOR_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/common/indexed_db/indexed_db_key.h" 15 #include "content/common/indexed_db/indexed_db_key.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebData.h" 16 #include "third_party/WebKit/public/platform/WebData.h"
17 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCallbacks.h" 17 #include "third_party/WebKit/public/platform/WebIDBCallbacks.h"
18 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBCursor.h" 18 #include "third_party/WebKit/public/platform/WebIDBCursor.h"
19 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBKey.h" 19 #include "third_party/WebKit/public/platform/WebIDBKey.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 class CONTENT_EXPORT RendererWebIDBCursorImpl 23 class CONTENT_EXPORT RendererWebIDBCursorImpl
24 : NON_EXPORTED_BASE(public WebKit::WebIDBCursor) { 24 : NON_EXPORTED_BASE(public WebKit::WebIDBCursor) {
25 public: 25 public:
26 explicit RendererWebIDBCursorImpl(int32 ipc_cursor_id); 26 explicit RendererWebIDBCursorImpl(int32 ipc_cursor_id);
27 virtual ~RendererWebIDBCursorImpl(); 27 virtual ~RendererWebIDBCursorImpl();
28 28
29 virtual void advance(unsigned long count, 29 virtual void advance(unsigned long count,
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 enum { kInvalidCursorId = -1 }; 66 enum { kInvalidCursorId = -1 };
67 enum { kPrefetchContinueThreshold = 2 }; 67 enum { kPrefetchContinueThreshold = 2 };
68 enum { kMinPrefetchAmount = 5 }; 68 enum { kMinPrefetchAmount = 5 };
69 enum { kMaxPrefetchAmount = 100 }; 69 enum { kMaxPrefetchAmount = 100 };
70 }; 70 };
71 71
72 } // namespace content 72 } // namespace content
73 73
74 #endif // CONTENT_COMMON_CHILD_INDEXED_DB_PROXY_WEBIDBCURSOR_IMPL_H_ 74 #endif // CONTENT_COMMON_CHILD_INDEXED_DB_PROXY_WEBIDBCURSOR_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698