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

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

Issue 2300323003: Adding performance tests for HQP that represent importance of optimising HistoryItemsForTerms method (Closed)
Patch Set: Review, round 4. Created 4 years, 1 month 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 | « components/history/core/browser/history_database.h ('k') | components/omnibox/browser/BUILD.gn » ('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_SERVICE_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 private: 545 private:
546 class BackendDelegate; 546 class BackendDelegate;
547 friend class base::RefCountedThreadSafe<HistoryService>; 547 friend class base::RefCountedThreadSafe<HistoryService>;
548 friend class BackendDelegate; 548 friend class BackendDelegate;
549 friend class favicon::FaviconService; 549 friend class favicon::FaviconService;
550 friend class HistoryBackend; 550 friend class HistoryBackend;
551 friend class HistoryQueryTest; 551 friend class HistoryQueryTest;
552 friend class ::HistoryQuickProviderTest; 552 friend class ::HistoryQuickProviderTest;
553 friend class HistoryServiceTest; 553 friend class HistoryServiceTest;
554 friend class ::HistoryURLProvider; 554 friend class ::HistoryURLProvider;
555 friend class HQPPerfTestOnePopularURL;
555 friend class ::InMemoryURLIndexTest; 556 friend class ::InMemoryURLIndexTest;
556 friend class ::SyncBookmarkDataTypeControllerTest; 557 friend class ::SyncBookmarkDataTypeControllerTest;
557 friend class ::TestingProfile; 558 friend class ::TestingProfile;
558 friend std::unique_ptr<HistoryService> CreateHistoryService( 559 friend std::unique_ptr<HistoryService> CreateHistoryService(
559 const base::FilePath& history_dir, 560 const base::FilePath& history_dir,
560 bool create_db); 561 bool create_db);
561 562
562 // Called on shutdown, this will tell the history backend to complete and 563 // Called on shutdown, this will tell the history backend to complete and
563 // will release pointers to it. No other functions should be called once 564 // will release pointers to it. No other functions should be called once
564 // cleanup has happened that may dispatch to the history thread (because it 565 // cleanup has happened that may dispatch to the history thread (because it
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 832
832 // All vended weak pointers are invalidated in Cleanup(). 833 // All vended weak pointers are invalidated in Cleanup().
833 base::WeakPtrFactory<HistoryService> weak_ptr_factory_; 834 base::WeakPtrFactory<HistoryService> weak_ptr_factory_;
834 835
835 DISALLOW_COPY_AND_ASSIGN(HistoryService); 836 DISALLOW_COPY_AND_ASSIGN(HistoryService);
836 }; 837 };
837 838
838 } // namespace history 839 } // namespace history
839 840
840 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_ 841 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_SERVICE_H_
OLDNEW
« no previous file with comments | « components/history/core/browser/history_database.h ('k') | components/omnibox/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698