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

Side by Side Diff: chrome/browser/history/history_backend.h

Issue 370603003: Code cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cancelable_task_tracker.7
Patch Set: Rebase Created 6 years, 5 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
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 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 20 matching lines...) Expand all
31 #endif 31 #endif
32 32
33 class HistoryURLProvider; 33 class HistoryURLProvider;
34 struct HistoryURLProviderParams; 34 struct HistoryURLProviderParams;
35 struct ImportedFaviconUsage; 35 struct ImportedFaviconUsage;
36 class TestingProfile; 36 class TestingProfile;
37 struct ThumbnailScore; 37 struct ThumbnailScore;
38 38
39 namespace base { 39 namespace base {
40 class MessageLoop; 40 class MessageLoop;
41 class SingleThreadTaskRunner;
41 } 42 }
42 43
43 namespace history { 44 namespace history {
44 #if defined(OS_ANDROID) 45 #if defined(OS_ANDROID)
45 class AndroidProviderBackend; 46 class AndroidProviderBackend;
46 #endif 47 #endif
47 48
48 class CommitLaterTask; 49 class CommitLaterTask;
49 struct DownloadRow; 50 struct DownloadRow;
50 class HistoryClient; 51 class HistoryClient;
51 class HistoryDBTask; 52 class HistoryDBTask;
52 class InMemoryHistoryBackend; 53 class InMemoryHistoryBackend;
54 class TypedUrlSyncableService;
53 class VisitFilter; 55 class VisitFilter;
54 class TypedUrlSyncableService;
55 56
56 // The maximum number of icons URLs per page which can be stored in the 57 // The maximum number of icons URLs per page which can be stored in the
57 // thumbnail database. 58 // thumbnail database.
58 static const size_t kMaxFaviconsPerPage = 8; 59 static const size_t kMaxFaviconsPerPage = 8;
59 60
60 // The maximum number of bitmaps for a single icon URL which can be stored in 61 // The maximum number of bitmaps for a single icon URL which can be stored in
61 // the thumbnail database. 62 // the thumbnail database.
62 static const size_t kMaxFaviconBitmapsPerIconURL = 8; 63 static const size_t kMaxFaviconBitmapsPerIconURL = 8;
63 64
64 class QueuedHistoryDBTask { 65 class QueuedHistoryDBTask {
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 897
897 // Listens for the system being under memory pressure. 898 // Listens for the system being under memory pressure.
898 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_; 899 scoped_ptr<base::MemoryPressureListener> memory_pressure_listener_;
899 900
900 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 901 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
901 }; 902 };
902 903
903 } // namespace history 904 } // namespace history
904 905
905 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 906 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/android/sqlite_cursor_unittest.cc ('k') | chrome/browser/history/history_marshaling_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698