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

Side by Side Diff: chrome/browser/history/shortcuts_database_unittest.cc

Issue 443043003: Rename components/autocomplete to components/omnibox (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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 "base/files/scoped_temp_dir.h" 5 #include "base/files/scoped_temp_dir.h"
6 #include "base/format_macros.h" 6 #include "base/format_macros.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/strings/stringprintf.h" 8 #include "base/strings/stringprintf.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "base/time/time.h" 10 #include "base/time/time.h"
11 #include "chrome/browser/history/shortcuts_database.h" 11 #include "chrome/browser/history/shortcuts_database.h"
12 #include "chrome/common/chrome_constants.h" 12 #include "chrome/common/chrome_constants.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "chrome/test/base/testing_profile.h" 14 #include "chrome/test/base/testing_profile.h"
15 #include "components/autocomplete/autocomplete_match_type.h" 15 #include "components/omnibox/autocomplete_match_type.h"
16 #include "content/public/common/page_transition_types.h" 16 #include "content/public/common/page_transition_types.h"
17 #include "sql/statement.h" 17 #include "sql/statement.h"
18 #include "sql/test/test_helpers.h" 18 #include "sql/test/test_helpers.h"
19 19
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 using base::ASCIIToUTF16; 22 using base::ASCIIToUTF16;
23 23
24 // Helpers -------------------------------------------------------------------- 24 // Helpers --------------------------------------------------------------------
25 25
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 ASSERT_TRUE(statement.is_valid()); 295 ASSERT_TRUE(statement.is_valid());
296 while (statement.Step()) 296 while (statement.Step())
297 EXPECT_EQ(0, statement.ColumnInt(0)); 297 EXPECT_EQ(0, statement.ColumnInt(0));
298 EXPECT_TRUE(statement.Succeeded()); 298 EXPECT_TRUE(statement.Succeeded());
299 #if !defined(OS_WIN) 299 #if !defined(OS_WIN)
300 EXPECT_TRUE(temp_dir.Delete()); 300 EXPECT_TRUE(temp_dir.Delete());
301 #endif 301 #endif
302 } 302 }
303 303
304 } // namespace history 304 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/shortcuts_database.cc ('k') | chrome/browser/metrics/omnibox_metrics_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698