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

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

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/history/history_browsertest.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 // The history system runs on a background thread so that potentially slow 5 // The history system runs on a background thread so that potentially slow
6 // database operations don't delay the browser. This backend processing is 6 // database operations don't delay the browser. This backend processing is
7 // represented by HistoryBackend. The HistoryService's job is to dispatch to 7 // represented by HistoryBackend. The HistoryService's job is to dispatch to
8 // that thread. 8 // that thread.
9 // 9 //
10 // Main thread History thread 10 // Main thread History thread
(...skipping 25 matching lines...) Expand all
36 #include "chrome/browser/browser_thread.h" 36 #include "chrome/browser/browser_thread.h"
37 #include "chrome/browser/browser_window.h" 37 #include "chrome/browser/browser_window.h"
38 #include "chrome/browser/history/download_create_info.h" 38 #include "chrome/browser/history/download_create_info.h"
39 #include "chrome/browser/history/history_backend.h" 39 #include "chrome/browser/history/history_backend.h"
40 #include "chrome/browser/history/history_notifications.h" 40 #include "chrome/browser/history/history_notifications.h"
41 #include "chrome/browser/history/history_types.h" 41 #include "chrome/browser/history/history_types.h"
42 #include "chrome/browser/history/in_memory_database.h" 42 #include "chrome/browser/history/in_memory_database.h"
43 #include "chrome/browser/history/in_memory_history_backend.h" 43 #include "chrome/browser/history/in_memory_history_backend.h"
44 #include "chrome/browser/history/top_sites.h" 44 #include "chrome/browser/history/top_sites.h"
45 #include "chrome/browser/prefs/pref_service.h" 45 #include "chrome/browser/prefs/pref_service.h"
46 #include "chrome/browser/profile.h" 46 #include "chrome/browser/profiles/profile.h"
47 #include "chrome/browser/visitedlink_master.h" 47 #include "chrome/browser/visitedlink/visitedlink_master.h"
48 #include "chrome/common/chrome_constants.h" 48 #include "chrome/common/chrome_constants.h"
49 #include "chrome/common/notification_service.h" 49 #include "chrome/common/notification_service.h"
50 #include "chrome/common/pref_names.h" 50 #include "chrome/common/pref_names.h"
51 #include "chrome/common/thumbnail_score.h" 51 #include "chrome/common/thumbnail_score.h"
52 #include "chrome/common/url_constants.h" 52 #include "chrome/common/url_constants.h"
53 #include "grit/chromium_strings.h" 53 #include "grit/chromium_strings.h"
54 #include "grit/generated_resources.h" 54 #include "grit/generated_resources.h"
55 #include "third_party/skia/include/core/SkBitmap.h" 55 #include "third_party/skia/include/core/SkBitmap.h"
56 56
57 using base::Time; 57 using base::Time;
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 history::TopSites* ts = profile_->GetTopSitesWithoutCreating(); 798 history::TopSites* ts = profile_->GetTopSitesWithoutCreating();
799 if (ts) 799 if (ts)
800 ts->MigrateFromHistory(); 800 ts->MigrateFromHistory();
801 } 801 }
802 } 802 }
803 803
804 void HistoryService::OnTopSitesReady() { 804 void HistoryService::OnTopSitesReady() {
805 ScheduleAndForget(PRIORITY_NORMAL, 805 ScheduleAndForget(PRIORITY_NORMAL,
806 &HistoryBackend::MigrateThumbnailsDatabase); 806 &HistoryBackend::MigrateThumbnailsDatabase);
807 } 807 }
OLDNEW
« no previous file with comments | « chrome/browser/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/history/history_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698