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

Side by Side Diff: ios/chrome/browser/share_extension/share_extension_service.h

Issue 2544293002: ios: Cleanup class/struct forward declarations (Closed)
Patch Set: 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 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_INTERNAL_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ 5 #ifndef IOS_INTERNAL_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_
6 #define IOS_INTERNAL_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H_ 6 #define IOS_INTERNAL_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/ios/reading_list_model_observer.h"
11 11
12 namespace bookmarks { 12 namespace bookmarks {
13 class BookmarkModel; 13 class BookmarkModel;
14 } 14 }
15 15
16 namespace ios {
17 class ChromeBrowserState;
18 }
19
20 class ReadingListModel; 16 class ReadingListModel;
21 17
22 // AuthenticationService is the Chrome interface to the iOS shared 18 // AuthenticationService is the Chrome interface to the iOS shared
23 // authentication library. 19 // authentication library.
24 class ShareExtensionService : public KeyedService, 20 class ShareExtensionService : public KeyedService,
25 public bookmarks::BaseBookmarkModelObserver, 21 public bookmarks::BaseBookmarkModelObserver,
26 public ReadingListModelObserver { 22 public ReadingListModelObserver {
27 public: 23 public:
28 explicit ShareExtensionService(bookmarks::BookmarkModel* bookmark_model, 24 explicit ShareExtensionService(bookmarks::BookmarkModel* bookmark_model,
29 ReadingListModel* reading_list_model); 25 ReadingListModel* reading_list_model);
(...skipping 12 matching lines...) Expand all
42 38
43 ReadingListModel* reading_list_model_; // not owned. 39 ReadingListModel* reading_list_model_; // not owned.
44 bool reading_list_model_loaded_; 40 bool reading_list_model_loaded_;
45 bookmarks::BookmarkModel* bookmark_model_; // not owned; 41 bookmarks::BookmarkModel* bookmark_model_; // not owned;
46 bool bookmark_model_loaded_; 42 bool bookmark_model_loaded_;
47 43
48 DISALLOW_COPY_AND_ASSIGN(ShareExtensionService); 44 DISALLOW_COPY_AND_ASSIGN(ShareExtensionService);
49 }; 45 };
50 46
51 #endif // IOS_INTERNAL_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H _ 47 #endif // IOS_INTERNAL_CHROME_BROWSER_SHARE_EXTENSION_SHARE_EXTENSION_SERVICE_H _
OLDNEW
« no previous file with comments | « ios/chrome/browser/reading_list/reading_list_web_state_observer.h ('k') | ios/chrome/browser/signin/signin_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698