Index: chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.h |
diff --git a/chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.h b/chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1d2c315a452076f6b455db2de8bef605b774d43c |
--- /dev/null |
+++ b/chrome/browser/enhanced_bookmarks/android/enhanced_bookmark_tab_helper.h |
@@ -0,0 +1,28 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H_ |
+#define CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H_ |
+ |
+#include "base/macros.h" |
+#include "content/public/browser/web_contents_observer.h" |
+#include "content/public/browser/web_contents_user_data.h" |
+ |
+class EnhancedBookmarkTabHelper |
+ : public content::WebContentsObserver, |
+ public content::WebContentsUserData<EnhancedBookmarkTabHelper> { |
+ public: |
+ ~EnhancedBookmarkTabHelper() override {}; |
+ |
+ // content::WebContentsObserver overrides. |
+ void DocumentOnLoadCompletedInMainFrame() override; |
+ |
+ private: |
+ explicit EnhancedBookmarkTabHelper(content::WebContents* contents); |
+ friend class content::WebContentsUserData<EnhancedBookmarkTabHelper>; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(EnhancedBookmarkTabHelper); |
+}; |
+ |
+#endif // CHROME_BROWSER_ENHANCED_BOOKMARKS_ANDROID_ENHANCED_BOOKMARK_TAB_HELPER_H_ |