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

Side by Side Diff: trunk/src/chrome/browser/history/history_tab_helper.h

Issue 19637009: Revert 212459 "Remove TextDatabase from the history service." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 5 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HISTORY_HISTORY_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_
6 #define CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ 6 #define CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/time/time.h" 9 #include "base/time/time.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 28 matching lines...) Expand all
39 const GURL& virtual_url, 39 const GURL& virtual_url,
40 base::Time timestamp, 40 base::Time timestamp,
41 bool did_replace_entry, 41 bool did_replace_entry,
42 const content::FrameNavigateParams& params); 42 const content::FrameNavigateParams& params);
43 43
44 private: 44 private:
45 explicit HistoryTabHelper(content::WebContents* web_contents); 45 explicit HistoryTabHelper(content::WebContents* web_contents);
46 friend class content::WebContentsUserData<HistoryTabHelper>; 46 friend class content::WebContentsUserData<HistoryTabHelper>;
47 47
48 // content::WebContentsObserver implementation. 48 // content::WebContentsObserver implementation.
49 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
49 virtual void DidNavigateMainFrame( 50 virtual void DidNavigateMainFrame(
50 const content::LoadCommittedDetails& details, 51 const content::LoadCommittedDetails& details,
51 const content::FrameNavigateParams& params) OVERRIDE; 52 const content::FrameNavigateParams& params) OVERRIDE;
52 virtual void DidNavigateAnyFrame( 53 virtual void DidNavigateAnyFrame(
53 const content::LoadCommittedDetails& details, 54 const content::LoadCommittedDetails& details,
54 const content::FrameNavigateParams& params) OVERRIDE; 55 const content::FrameNavigateParams& params) OVERRIDE;
55 virtual void WebContentsDestroyed(content::WebContents* tab) OVERRIDE; 56 virtual void WebContentsDestroyed(content::WebContents* tab) OVERRIDE;
56 57
57 // content::NotificationObserver implementation. 58 // content::NotificationObserver implementation.
58 virtual void Observe(int type, 59 virtual void Observe(int type,
(...skipping 12 matching lines...) Expand all
71 // prevents some weirdness because some AJAXy apps use titles for status 72 // prevents some weirdness because some AJAXy apps use titles for status
72 // messages. 73 // messages.
73 bool received_page_title_; 74 bool received_page_title_;
74 75
75 content::NotificationRegistrar registrar_; 76 content::NotificationRegistrar registrar_;
76 77
77 DISALLOW_COPY_AND_ASSIGN(HistoryTabHelper); 78 DISALLOW_COPY_AND_ASSIGN(HistoryTabHelper);
78 }; 79 };
79 80
80 #endif // CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_ 81 #endif // CHROME_BROWSER_HISTORY_HISTORY_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « trunk/src/chrome/browser/history/history_service.cc ('k') | trunk/src/chrome/browser/history/history_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698