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

Side by Side Diff: chrome/browser/net/predictor_tab_helper.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « chrome/browser/net/predictor_browsertest.cc ('k') | chrome/browser/net/predictor_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_NET_PREDICTOR_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_NET_PREDICTOR_TAB_HELPER_H_
6 #define CHROME_BROWSER_NET_PREDICTOR_TAB_HELPER_H_ 6 #define CHROME_BROWSER_NET_PREDICTOR_TAB_HELPER_H_
7 7
8 #include "base/macros.h"
8 #include "content/public/browser/notification_observer.h" 9 #include "content/public/browser/notification_observer.h"
9 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
10 #include "content/public/browser/web_contents_observer.h" 11 #include "content/public/browser/web_contents_observer.h"
11 #include "content/public/browser/web_contents_user_data.h" 12 #include "content/public/browser/web_contents_user_data.h"
12 13
13 namespace chrome_browser_net { 14 namespace chrome_browser_net {
14 15
15 class PredictorTabHelper 16 class PredictorTabHelper
16 : public content::WebContentsObserver, 17 : public content::WebContentsObserver,
17 public content::WebContentsUserData<PredictorTabHelper> { 18 public content::WebContentsUserData<PredictorTabHelper> {
18 public: 19 public:
19 ~PredictorTabHelper() override; 20 ~PredictorTabHelper() override;
20 21
21 // content::WebContentsObserver implementation 22 // content::WebContentsObserver implementation
22 void DidStartNavigationToPendingEntry( 23 void DidStartNavigationToPendingEntry(
23 const GURL& url, 24 const GURL& url,
24 content::NavigationController::ReloadType reload_type) override; 25 content::NavigationController::ReloadType reload_type) override;
25 26
26 private: 27 private:
27 explicit PredictorTabHelper(content::WebContents* web_contents); 28 explicit PredictorTabHelper(content::WebContents* web_contents);
28 friend class content::WebContentsUserData<PredictorTabHelper>; 29 friend class content::WebContentsUserData<PredictorTabHelper>;
29 30
30 DISALLOW_COPY_AND_ASSIGN(PredictorTabHelper); 31 DISALLOW_COPY_AND_ASSIGN(PredictorTabHelper);
31 }; 32 };
32 33
33 } // namespace chrome_browser_net 34 } // namespace chrome_browser_net
34 35
35 #endif // CHROME_BROWSER_NET_PREDICTOR_TAB_HELPER_H_ 36 #endif // CHROME_BROWSER_NET_PREDICTOR_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/net/predictor_browsertest.cc ('k') | chrome/browser/net/predictor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698