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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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) 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 <string> 5 #include <string>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/file_util.h" 11 #include "base/file_util.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/scoped_ptr.h" 13 #include "base/scoped_ptr.h"
14 #include "base/scoped_temp_dir.h" 14 #include "base/scoped_temp_dir.h"
15 #include "base/string16.h" 15 #include "base/string16.h"
16 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
17 #include "chrome/browser/bookmarks/bookmark_model.h" 17 #include "chrome/browser/bookmarks/bookmark_model.h"
18 #include "chrome/browser/browser_thread.h" 18 #include "chrome/browser/browser_thread.h"
19 #include "chrome/browser/history/archived_database.h" 19 #include "chrome/browser/history/archived_database.h"
20 #include "chrome/browser/history/expire_history_backend.h" 20 #include "chrome/browser/history/expire_history_backend.h"
21 #include "chrome/browser/history/history_database.h" 21 #include "chrome/browser/history/history_database.h"
22 #include "chrome/browser/history/history_notifications.h" 22 #include "chrome/browser/history/history_notifications.h"
23 #include "chrome/browser/history/text_database_manager.h" 23 #include "chrome/browser/history/text_database_manager.h"
24 #include "chrome/browser/history/thumbnail_database.h" 24 #include "chrome/browser/history/thumbnail_database.h"
25 #include "chrome/browser/history/top_sites.h" 25 #include "chrome/browser/history/top_sites.h"
26 #include "chrome/common/thumbnail_score.h" 26 #include "chrome/common/thumbnail_score.h"
27 #include "chrome/test/testing_profile.h" 27 #include "chrome/test/testing_profile.h"
28 #include "chrome/tools/profiles/thumbnail-inl.h" 28 #include "chrome/tools/profiles/thumbnail-inl.h"
29 #include "gfx/codec/jpeg_codec.h"
30 #include "testing/gtest/include/gtest/gtest.h" 29 #include "testing/gtest/include/gtest/gtest.h"
31 #include "third_party/skia/include/core/SkBitmap.h" 30 #include "third_party/skia/include/core/SkBitmap.h"
31 #include "ui/gfx/codec/jpeg_codec.h"
32 32
33 using base::Time; 33 using base::Time;
34 using base::TimeDelta; 34 using base::TimeDelta;
35 using base::TimeTicks; 35 using base::TimeTicks;
36 36
37 // Filename constants. 37 // Filename constants.
38 static const FilePath::CharType kHistoryFile[] = FILE_PATH_LITERAL("History"); 38 static const FilePath::CharType kHistoryFile[] = FILE_PATH_LITERAL("History");
39 static const FilePath::CharType kArchivedHistoryFile[] = 39 static const FilePath::CharType kArchivedHistoryFile[] =
40 FILE_PATH_LITERAL("Archived History"); 40 FILE_PATH_LITERAL("Archived History");
41 static const FilePath::CharType kThumbnailFile[] = 41 static const FilePath::CharType kThumbnailFile[] =
(...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 main_db_->GetVisitsForURL(url_id, &archived_visits); 908 main_db_->GetVisitsForURL(url_id, &archived_visits);
909 EXPECT_EQ(0U, archived_visits.size()); 909 EXPECT_EQ(0U, archived_visits.size());
910 } 910 }
911 911
912 // TODO(brettw) add some visits with no URL to make sure everything is updated 912 // TODO(brettw) add some visits with no URL to make sure everything is updated
913 // properly. Have the visits also refer to nonexistent FTS rows. 913 // properly. Have the visits also refer to nonexistent FTS rows.
914 // 914 //
915 // Maybe also refer to invalid favicons. 915 // Maybe also refer to invalid favicons.
916 916
917 } // namespace history 917 } // namespace history
OLDNEW
« no previous file with comments | « chrome/browser/gpu_process_host_ui_shim.cc ('k') | chrome/browser/history/history_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698