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

Side by Side Diff: content/common/indexed_db/indexed_db_key.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_INDEXED_DB_INDEXED_DB_KEY_H_ 5 #ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_
6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ 6 #define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_vector.h" 11 #include "base/memory/scoped_vector.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebIDBKey.h" 14 #include "third_party/WebKit/public/platform/WebIDBKey.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class CONTENT_EXPORT IndexedDBKey { 18 class CONTENT_EXPORT IndexedDBKey {
19 public: 19 public:
20 typedef std::vector<IndexedDBKey> KeyArray; 20 typedef std::vector<IndexedDBKey> KeyArray;
21 21
22 IndexedDBKey(); // Defaults to WebKit::WebIDBKey::InvalidType. 22 IndexedDBKey(); // Defaults to WebKit::WebIDBKey::InvalidType.
23 IndexedDBKey(WebKit::WebIDBKey::Type); // must be Null or Invalid 23 IndexedDBKey(WebKit::WebIDBKey::Type); // must be Null or Invalid
24 explicit IndexedDBKey(const KeyArray& array); 24 explicit IndexedDBKey(const KeyArray& array);
(...skipping 29 matching lines...) Expand all
54 54
55 // Very rough estimate of minimum key size overhead. 55 // Very rough estimate of minimum key size overhead.
56 enum { 56 enum {
57 kOverheadSize = 16 57 kOverheadSize = 16
58 }; 58 };
59 }; 59 };
60 60
61 } // namespace content 61 } // namespace content
62 62
63 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_ 63 #endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_KEY_H_
OLDNEW
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h ('k') | content/common/indexed_db/indexed_db_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698