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

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

Issue 6086003: Cleanup: Remove unneeded includes of chrome_switches.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_database.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 <set> 5 #include <set>
6 #include <vector> 6 #include <vector>
7 7
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/ref_counted.h" 12 #include "base/ref_counted.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/string16.h" 14 #include "base/string16.h"
15 #include "base/utf_string_conversions.h" 15 #include "base/utf_string_conversions.h"
16 #include "chrome/browser/bookmarks/bookmark_model.h" 16 #include "chrome/browser/bookmarks/bookmark_model.h"
17 #include "chrome/browser/history/history_backend.h" 17 #include "chrome/browser/history/history_backend.h"
18 #include "chrome/browser/history/history_notifications.h" 18 #include "chrome/browser/history/history_notifications.h"
19 #include "chrome/browser/history/in_memory_history_backend.h" 19 #include "chrome/browser/history/in_memory_history_backend.h"
20 #include "chrome/browser/history/in_memory_database.h" 20 #include "chrome/browser/history/in_memory_database.h"
21 #include "chrome/browser/history/top_sites.h" 21 #include "chrome/browser/history/top_sites.h"
22 #include "chrome/common/chrome_constants.h" 22 #include "chrome/common/chrome_constants.h"
23 #include "chrome/common/chrome_paths.h" 23 #include "chrome/common/chrome_paths.h"
24 #include "chrome/common/chrome_switches.h"
25 #include "chrome/common/notification_details.h" 24 #include "chrome/common/notification_details.h"
26 #include "chrome/common/notification_source.h" 25 #include "chrome/common/notification_source.h"
27 #include "chrome/common/thumbnail_score.h" 26 #include "chrome/common/thumbnail_score.h"
28 #include "chrome/tools/profiles/thumbnail-inl.h" 27 #include "chrome/tools/profiles/thumbnail-inl.h"
29 #include "gfx/codec/jpeg_codec.h" 28 #include "gfx/codec/jpeg_codec.h"
30 #include "googleurl/src/gurl.h" 29 #include "googleurl/src/gurl.h"
31 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
32 31
33 using base::Time; 32 using base::Time;
34 33
(...skipping 798 matching lines...) Expand 10 before | Expand all | Expand 10 after
833 832
834 // Check visit_source table is created and empty. 833 // Check visit_source table is created and empty.
835 s.Assign(db.GetUniqueStatement( 834 s.Assign(db.GetUniqueStatement(
836 "SELECT name FROM sqlite_master WHERE name=\"visit_source\"")); 835 "SELECT name FROM sqlite_master WHERE name=\"visit_source\""));
837 ASSERT_TRUE(s.Step()); 836 ASSERT_TRUE(s.Step());
838 s.Assign(db.GetUniqueStatement("SELECT * FROM visit_source LIMIT 10")); 837 s.Assign(db.GetUniqueStatement("SELECT * FROM visit_source LIMIT 10"));
839 EXPECT_FALSE(s.Step()); 838 EXPECT_FALSE(s.Step());
840 } 839 }
841 840
842 } // namespace history 841 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/history_backend.cc ('k') | chrome/browser/history/history_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698