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

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

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 <algorithm> 5 #include <algorithm>
6 #include <string> 6 #include <string>
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 10 matching lines...) Expand all
21 #include "chrome/browser/history/expire_history_backend.h" 21 #include "chrome/browser/history/expire_history_backend.h"
22 #include "chrome/browser/history/history_database.h" 22 #include "chrome/browser/history/history_database.h"
23 #include "chrome/browser/history/history_notifications.h" 23 #include "chrome/browser/history/history_notifications.h"
24 #include "chrome/browser/history/text_database_manager.h" 24 #include "chrome/browser/history/text_database_manager.h"
25 #include "chrome/browser/history/thumbnail_database.h" 25 #include "chrome/browser/history/thumbnail_database.h"
26 #include "chrome/browser/history/top_sites.h" 26 #include "chrome/browser/history/top_sites.h"
27 #include "chrome/common/chrome_notification_types.h" 27 #include "chrome/common/chrome_notification_types.h"
28 #include "chrome/common/thumbnail_score.h" 28 #include "chrome/common/thumbnail_score.h"
29 #include "chrome/test/base/testing_profile.h" 29 #include "chrome/test/base/testing_profile.h"
30 #include "chrome/tools/profiles/thumbnail-inl.h" 30 #include "chrome/tools/profiles/thumbnail-inl.h"
31 #include "content/test/test_browser_thread.h" 31 #include "content/public/test/test_browser_thread.h"
32 #include "testing/gtest/include/gtest/gtest.h" 32 #include "testing/gtest/include/gtest/gtest.h"
33 #include "third_party/skia/include/core/SkBitmap.h" 33 #include "third_party/skia/include/core/SkBitmap.h"
34 #include "ui/gfx/codec/jpeg_codec.h" 34 #include "ui/gfx/codec/jpeg_codec.h"
35 35
36 using base::Time; 36 using base::Time;
37 using base::TimeDelta; 37 using base::TimeDelta;
38 using base::TimeTicks; 38 using base::TimeTicks;
39 using content::BrowserThread; 39 using content::BrowserThread;
40 40
41 // Filename constants. 41 // Filename constants.
(...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after
956 main_db_->GetVisitsForURL(url_id, &archived_visits); 956 main_db_->GetVisitsForURL(url_id, &archived_visits);
957 EXPECT_EQ(0U, archived_visits.size()); 957 EXPECT_EQ(0U, archived_visits.size());
958 } 958 }
959 959
960 // TODO(brettw) add some visits with no URL to make sure everything is updated 960 // TODO(brettw) add some visits with no URL to make sure everything is updated
961 // properly. Have the visits also refer to nonexistent FTS rows. 961 // properly. Have the visits also refer to nonexistent FTS rows.
962 // 962 //
963 // Maybe also refer to invalid favicons. 963 // Maybe also refer to invalid favicons.
964 964
965 } // namespace history 965 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/history/android/bookmark_model_sql_handler_unittest.cc ('k') | chrome/browser/history/history_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698