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

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

Issue 16561007: Use a direct include of utf_string_conversions.h in chrome/browser/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 <vector> 5 #include <vector>
6 6
7 #include "chrome/browser/history/android/urls_sql_handler.h" 7 #include "chrome/browser/history/android/urls_sql_handler.h"
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "base/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "chrome/browser/history/android/visit_sql_handler.h" 13 #include "chrome/browser/history/android/visit_sql_handler.h"
14 #include "chrome/browser/history/history_database.h" 14 #include "chrome/browser/history/history_database.h"
15 #include "chrome/common/chrome_constants.h" 15 #include "chrome/common/chrome_constants.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 using base::Time; 18 using base::Time;
19 using base::TimeDelta; 19 using base::TimeDelta;
20 20
21 namespace history { 21 namespace history {
22 22
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 334
335 TableIDRow id; 335 TableIDRow id;
336 id.url_id = url_row.id(); 336 id.url_id = url_row.id();
337 TableIDRows ids; 337 TableIDRows ids;
338 ids.push_back(id); 338 ids.push_back(id);
339 ASSERT_TRUE(urls_sql_handler_.Delete(ids)); 339 ASSERT_TRUE(urls_sql_handler_.Delete(ids));
340 EXPECT_FALSE(history_db_.GetURLRow(row.url_id(), &url_row)); 340 EXPECT_FALSE(history_db_.GetURLRow(row.url_id(), &url_row));
341 } 341 }
342 342
343 } // namespace history 343 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/android/sqlite_cursor_unittest.cc ('k') | chrome/browser/history/android/visit_sql_handler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698