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

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

Issue 1311403011: Removed archived history file deletion on browser start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added obsolete tag to archived history histograms Created 5 years, 3 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
« no previous file with comments | « no previous file | components/history/core/browser/history_backend.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) 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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable); 550 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, HostRankIfAvailable);
551 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics); 551 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, RecordTopHostsMetrics);
552 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration); 552 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, UpdateVisitDuration);
553 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes); 553 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, ExpireHistoryForTimes);
554 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases); 554 FRIEND_TEST_ALL_PREFIXES(HistoryBackendTest, DeleteFTSIndexDatabases);
555 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest, 555 FRIEND_TEST_ALL_PREFIXES(ProfileSyncServiceTypedUrlTest,
556 ProcessUserChangeRemove); 556 ProcessUserChangeRemove);
557 friend class ::TestingProfile; 557 friend class ::TestingProfile;
558 558
559 // Computes the name of the specified database on disk. 559 // Computes the name of the specified database on disk.
560 base::FilePath GetArchivedFileName() const;
561 base::FilePath GetThumbnailFileName() const; 560 base::FilePath GetThumbnailFileName() const;
562 561
563 // Returns the name of the Favicons database. This is the new name 562 // Returns the name of the Favicons database. This is the new name
564 // of the Thumbnails database. 563 // of the Thumbnails database.
565 base::FilePath GetFaviconsFileName() const; 564 base::FilePath GetFaviconsFileName() const;
566 565
567 class URLQuerier; 566 class URLQuerier;
568 friend class URLQuerier; 567 friend class URLQuerier;
569 568
570 // Does the work of Init. 569 // Does the work of Init.
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
880 879
881 // List of observers 880 // List of observers
882 base::ObserverList<HistoryBackendObserver> observers_; 881 base::ObserverList<HistoryBackendObserver> observers_;
883 882
884 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 883 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
885 }; 884 };
886 885
887 } // namespace history 886 } // namespace history
888 887
889 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_ 888 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | components/history/core/browser/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698