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

Side by Side Diff: content/common/indexed_db/indexed_db_key_path.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_path.h" 5 #include "content/common/indexed_db/indexed_db_key_path.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::WebIDBKeyPath; 13 using WebKit::WebIDBKeyPath;
14 using WebKit::WebString; 14 using WebKit::WebString;
15 using WebKit::WebVector; 15 using WebKit::WebVector;
16 16
17 namespace { 17 namespace {
18 static std::vector<string16> CopyArray(const WebVector<WebString>& array) { 18 static std::vector<string16> CopyArray(const WebVector<WebString>& array) {
19 std::vector<string16> copy(array.size()); 19 std::vector<string16> copy(array.size());
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 case WebIDBKeyPath::StringType: 78 case WebIDBKeyPath::StringType:
79 return WebIDBKeyPath::create(WebString(string_)); 79 return WebIDBKeyPath::create(WebString(string_));
80 case WebIDBKeyPath::NullType: 80 case WebIDBKeyPath::NullType:
81 return WebIDBKeyPath::createNull(); 81 return WebIDBKeyPath::createNull();
82 } 82 }
83 NOTREACHED(); 83 NOTREACHED();
84 return WebIDBKeyPath::createNull(); 84 return WebIDBKeyPath::createNull();
85 } 85 }
86 86
87 } // namespace content 87 } // namespace content
OLDNEW
« no previous file with comments | « content/common/indexed_db/indexed_db_key_path.h ('k') | content/common/indexed_db/indexed_db_key_range.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698