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

Side by Side Diff: content/common/indexed_db/indexed_db_key.cc

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 #include "content/common/indexed_db/indexed_db_key.h" 5 #include "content/common/indexed_db/indexed_db_key.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" 8 #include "third_party/WebKit/public/platform/WebString.h"
9 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 9 #include "third_party/WebKit/public/platform/WebVector.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 using WebKit::WebIDBKey; 13 using WebKit::WebIDBKey;
14 using WebKit::WebVector; 14 using WebKit::WebVector;
15 15
16 namespace { 16 namespace {
17 size_t CalculateKeySize(const WebIDBKey& key); 17 size_t CalculateKeySize(const WebIDBKey& key);
18 18
19 template <typename T> static size_t CalculateSize(const T& keys) { 19 template <typename T> static size_t CalculateSize(const T& keys) {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 case WebIDBKey::NullType: 155 case WebIDBKey::NullType:
156 return WebIDBKey::createNull(); 156 return WebIDBKey::createNull();
157 default: 157 default:
158 // This is a placeholder for WebKit::WebIDBKey::MinType 158 // This is a placeholder for WebKit::WebIDBKey::MinType
159 NOTREACHED(); 159 NOTREACHED();
160 return WebIDBKey::createInvalid(); 160 return WebIDBKey::createInvalid();
161 } 161 }
162 } 162 }
163 163
164 } // namespace content 164 } // namespace content
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_key.h ('k') | content/common/indexed_db/indexed_db_key_path.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698