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

Side by Side Diff: chrome/browser/history/android/android_urls_database_unittest.cc

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 "chrome/browser/history/android/android_urls_database.h" 5 #include "chrome/browser/history/android/android_urls_database.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/scoped_temp_dir.h"
9 #include "base/path_service.h" 10 #include "base/path_service.h"
10 #include "base/scoped_temp_dir.h"
11 #include "chrome/browser/history/history_database.h" 11 #include "chrome/browser/history/history_database.h"
12 #include "chrome/browser/history/history_unittest_base.h" 12 #include "chrome/browser/history/history_unittest_base.h"
13 #include "chrome/common/chrome_constants.h" 13 #include "chrome/common/chrome_constants.h"
14 #include "chrome/common/chrome_paths.h" 14 #include "chrome/common/chrome_paths.h"
15 #include "chrome/test/base/testing_profile.h" 15 #include "chrome/test/base/testing_profile.h"
16 16
17 namespace history { 17 namespace history {
18 18
19 class AndroidURLsMigrationTest : public HistoryUnitTestBase { 19 class AndroidURLsMigrationTest : public HistoryUnitTestBase {
20 public: 20 public:
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 ASSERT_TRUE(statement.Step()); 59 ASSERT_TRUE(statement.Step());
60 EXPECT_EQ(4, statement.ColumnInt64(0)); 60 EXPECT_EQ(4, statement.ColumnInt64(0));
61 EXPECT_EQ("www.google.com/", statement.ColumnString(2)); 61 EXPECT_EQ("www.google.com/", statement.ColumnString(2));
62 EXPECT_EQ(3, statement.ColumnInt64(1)); 62 EXPECT_EQ(3, statement.ColumnInt64(1));
63 63
64 EXPECT_FALSE(statement.Step()); 64 EXPECT_FALSE(statement.Step());
65 } 65 }
66 66
67 } // namespace history 67 } // namespace history
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698