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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CLIENT_H_ 5 #ifndef COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_CLIENT_H_
6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_CLIENT_H_ 6 #define COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "sql/init_status.h" 11 #include "sql/init_status.h"
12 12
13 class GURL; 13 class GURL;
14 14
15 namespace base {
16 class FilePath;
17 }
18
19 namespace history { 15 namespace history {
20 16
21 class HistoryBackend;
22 class HistoryBackendClient; 17 class HistoryBackendClient;
23 class HistoryDatabase;
24 class HistoryService; 18 class HistoryService;
25 class ThumbnailDatabase;
26 19
27 // This class abstracts operations that depend on the embedder's environment, 20 // This class abstracts operations that depend on the embedder's environment,
28 // e.g. Chrome. 21 // e.g. Chrome.
29 class HistoryClient { 22 class HistoryClient {
30 public: 23 public:
31 HistoryClient() {} 24 HistoryClient() {}
32 virtual ~HistoryClient() {} 25 virtual ~HistoryClient() {}
33 26
34 // Called upon HistoryService creation. 27 // Called upon HistoryService creation.
35 virtual void OnHistoryServiceCreated(HistoryService* history_service) = 0; 28 virtual void OnHistoryServiceCreated(HistoryService* history_service) = 0;
(...skipping 12 matching lines...) Expand all
48 // Returns a new HistoryBackendClient instance. 41 // Returns a new HistoryBackendClient instance.
49 virtual std::unique_ptr<HistoryBackendClient> CreateBackendClient() = 0; 42 virtual std::unique_ptr<HistoryBackendClient> CreateBackendClient() = 0;
50 43
51 private: 44 private:
52 DISALLOW_COPY_AND_ASSIGN(HistoryClient); 45 DISALLOW_COPY_AND_ASSIGN(HistoryClient);
53 }; 46 };
54 47
55 } // namespace history 48 } // namespace history
56 49
57 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_CLIENT_H_ 50 #endif // COMPONENTS_HISTORY_CORE_BROWSER_HISTORY_CLIENT_H_
OLDNEW
« no previous file with comments | « components/history/core/browser/history_backend.h ('k') | components/history/core/browser/history_database.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698