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 CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_ |
6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_ | 6 #define CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "chrome/browser/android/offline_pages/offline_page_model_factory.h" | 9 #include "chrome/browser/android/offline_pages/offline_page_model_factory.h" |
10 #include "components/bookmarks/browser/base_bookmark_model_observer.h" | 10 #include "components/bookmarks/browser/base_bookmark_model_observer.h" |
11 #include "components/offline_pages/offline_page_types.h" | 11 #include "components/offline_pages/core/offline_page_types.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 | 14 |
15 namespace bookmarks { | 15 namespace bookmarks { |
16 class BookmarkModel; | 16 class BookmarkModel; |
17 class BookmarkNode; | 17 class BookmarkNode; |
18 } | 18 } |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 class BrowserContext; | 21 class BrowserContext; |
(...skipping 24 matching lines...) Expand all Loading... |
46 | 46 |
47 content::BrowserContext* context_; | 47 content::BrowserContext* context_; |
48 | 48 |
49 OfflinePageModel* offline_page_model_; | 49 OfflinePageModel* offline_page_model_; |
50 | 50 |
51 base::WeakPtrFactory<OfflinePageBookmarkObserver> weak_ptr_factory_; | 51 base::WeakPtrFactory<OfflinePageBookmarkObserver> weak_ptr_factory_; |
52 }; | 52 }; |
53 } // namespace offline_pages | 53 } // namespace offline_pages |
54 | 54 |
55 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H
_ | 55 #endif // CHROME_BROWSER_ANDROID_OFFLINE_PAGES_OFFLINE_PAGE_BOOKMARK_OBSERVER_H
_ |
OLD | NEW |