[Enhanced Bookmark]Upstream image fetching code in android
[chromium-blink-merge.git] / chrome / browser / enhanced_bookmarks / android / enhanced_bookmark_tab_helper.h
blob1d2c315a452076f6b455db2de8bef605b774d43c
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H_
6 #define CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H_
8 #include "base/macros.h"
9 #include "content/public/browser/web_contents_observer.h"
10 #include "content/public/browser/web_contents_user_data.h"
12 class EnhancedBookmarkTabHelper
13 : public content::WebContentsObserver,
14 public content::WebContentsUserData<EnhancedBookmarkTabHelper> {
15 public:
16 ~EnhancedBookmarkTabHelper() override {};
18 // content::WebContentsObserver overrides.
19 void DocumentOnLoadCompletedInMainFrame() override;
21 private:
22 explicit EnhancedBookmarkTabHelper(content::WebContents* contents);
23 friend class content::WebContentsUserData<EnhancedBookmarkTabHelper>;
25 DISALLOW_COPY_AND_ASSIGN(EnhancedBookmarkTabHelper);
28 #endif // CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H_