OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ | 5 #ifndef IOS_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ |
6 #define IOS_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ | 6 #define IOS_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ |
7 | 7 |
8 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 8 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
9 #include "components/keyed_service/core/keyed_service.h" | 9 #include "components/keyed_service/core/keyed_service.h" |
10 #include "components/reading_list/ios/reading_list_model_observer.h" | 10 #include "components/reading_list/core/reading_list_model_observer.h" |
11 | 11 |
12 namespace bookmarks { | 12 namespace bookmarks { |
13 class BookmarkModel; | 13 class BookmarkModel; |
14 } | 14 } |
15 | 15 |
16 class ReadingListModel; | 16 class ReadingListModel; |
17 | 17 |
18 // AuthenticationService is the Chrome interface to the iOS shared | 18 // AuthenticationService is the Chrome interface to the iOS shared |
19 // authentication library. | 19 // authentication library. |
20 class ShareExtensionService : public KeyedService, | 20 class ShareExtensionService : public KeyedService, |
(...skipping 17 matching lines...) Expand all Loading... |
38 | 38 |
39 ReadingListModel* reading_list_model_; // not owned. | 39 ReadingListModel* reading_list_model_; // not owned. |
40 bool reading_list_model_loaded_; | 40 bool reading_list_model_loaded_; |
41 bookmarks::BookmarkModel* bookmark_model_; // not owned; | 41 bookmarks::BookmarkModel* bookmark_model_; // not owned; |
42 bool bookmark_model_loaded_; | 42 bool bookmark_model_loaded_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(ShareExtensionService); | 44 DISALLOW_COPY_AND_ASSIGN(ShareExtensionService); |
45 }; | 45 }; |
46 | 46 |
47 #endif // IOS_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ | 47 #endif // IOS_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ |
OLD | NEW |