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

Side by Side Diff: components/history/core/browser/history_backend.h

Issue 2040553002: Remove unused constant history::kThumbnailsFilename. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@zzzzsql_diagnostic_thumbnails
Patch Set: Created 4 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
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 COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable); 559 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable);
560 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics); 560 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics);
561 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetCountsAndLastVisitForOrigins); 561 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, GetCountsAndLastVisitForOrigins);
562 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration); 562 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration);
563 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes); 563 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes);
564 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases); 564 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases);
565 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest, 565 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest,
566 ProcessUserChangeRemove); 566 ProcessUserChangeRemove);
567 friend class ::TestingProfile; 567 friend class ::TestingProfile;
568 568
569 // Computes the name of the specified database on disk.
570 base::FilePath GetThumbnailFileName() const;
571
572 // Returns the name of the Favicons database. This is the new name 569 // Returns the name of the Favicons database. This is the new name
573 // of the Thumbnails database. 570 // of the Thumbnails database.
574 base::FilePath GetFaviconsFileName() const; 571 base::FilePath GetFaviconsFileName() const;
575 572
576 class URLQuerier; 573 class URLQuerier;
577 friend class URLQuerier; 574 friend class URLQuerier;
578 575
579 // Does the work of Init. 576 // Does the work of Init.
580 void InitImpl(const HistoryDatabaseParams& history_database_params); 577 void InitImpl(const HistoryDatabaseParams& history_database_params);
581 578
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 885
889 // List of observers 886 // List of observers
890 base::ObserverList<HistoryBackendObserver> observers_; 887 base::ObserverList<HistoryBackendObserver> observers_;
891 888
892 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 889 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
893 }; 890 };
894 891
895 } // namespace history 892 } // namespace history
896 893
897 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 894 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « components/history/core/browser/expire_history_backend_unittest.cc ('k') | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698