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

Side by Side Diff: content/browser/indexed_db/indexed_db_backing_store_unittest.cc

Issue 121033002: Update uses of UTF conversions in content/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/browser/indexed_db/indexed_db_backing_store.h" 5 #include "content/browser/indexed_db/indexed_db_backing_store.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string16.h" 8 #include "base/strings/string16.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h" 10 #include "content/browser/indexed_db/indexed_db_leveldb_coding.h"
11 #include "testing/gtest/include/gtest/gtest.h" 11 #include "testing/gtest/include/gtest/gtest.h"
12 #include "third_party/WebKit/public/platform/WebIDBTypes.h" 12 #include "third_party/WebKit/public/platform/WebIDBTypes.h"
13 13
14 using base::ASCIIToUTF16;
15
14 namespace content { 16 namespace content {
15 17
16 namespace { 18 namespace {
17 19
18 class IndexedDBBackingStoreTest : public testing::Test { 20 class IndexedDBBackingStoreTest : public testing::Test {
19 public: 21 public:
20 IndexedDBBackingStoreTest() {} 22 IndexedDBBackingStoreTest() {}
21 virtual void SetUp() { 23 virtual void SetUp() {
22 const GURL origin("http://localhost:81"); 24 const GURL origin("http://localhost:81");
23 backing_store_ = IndexedDBBackingStore::OpenInMemory(origin); 25 backing_store_ = IndexedDBBackingStore::OpenInMemory(origin);
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 EXPECT_EQ(index_name, index.name); 314 EXPECT_EQ(index_name, index.name);
313 EXPECT_EQ(index_key_path, index.key_path); 315 EXPECT_EQ(index_key_path, index.key_path);
314 EXPECT_EQ(unique, index.unique); 316 EXPECT_EQ(unique, index.unique);
315 EXPECT_EQ(multi_entry, index.multi_entry); 317 EXPECT_EQ(multi_entry, index.multi_entry);
316 } 318 }
317 } 319 }
318 320
319 } // namespace 321 } // namespace
320 322
321 } // namespace content 323 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/geolocation/wifi_data_provider_win.cc ('k') | content/browser/indexed_db/indexed_db_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698