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

Side by Side Diff: chrome/browser/predictors/resource_prefetch_predictor_tab_helper.h

Issue 624173002: replace OVERRIDE and FINAL with override and final in chrome/browser/[j-q]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TAB_HELPER_H_
6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TAB_HELPER_H_ 6 #define CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TAB_HELPER_H_
7 7
8 #include "content/public/browser/web_contents_observer.h" 8 #include "content/public/browser/web_contents_observer.h"
9 #include "content/public/browser/web_contents_user_data.h" 9 #include "content/public/browser/web_contents_user_data.h"
10 10
11 namespace predictors { 11 namespace predictors {
12 12
13 class ResourcePrefetchPredictorTabHelper 13 class ResourcePrefetchPredictorTabHelper
14 : public content::WebContentsObserver, 14 : public content::WebContentsObserver,
15 public content::WebContentsUserData<ResourcePrefetchPredictorTabHelper> { 15 public content::WebContentsUserData<ResourcePrefetchPredictorTabHelper> {
16 public: 16 public:
17 virtual ~ResourcePrefetchPredictorTabHelper(); 17 virtual ~ResourcePrefetchPredictorTabHelper();
18 18
19 // content::WebContentsObserver implementation 19 // content::WebContentsObserver implementation
20 virtual void DocumentOnLoadCompletedInMainFrame() OVERRIDE; 20 virtual void DocumentOnLoadCompletedInMainFrame() override;
21 virtual void DidLoadResourceFromMemoryCache( 21 virtual void DidLoadResourceFromMemoryCache(
22 const content::LoadFromMemoryCacheDetails& details) OVERRIDE; 22 const content::LoadFromMemoryCacheDetails& details) override;
23 23
24 private: 24 private:
25 explicit ResourcePrefetchPredictorTabHelper( 25 explicit ResourcePrefetchPredictorTabHelper(
26 content::WebContents* web_contents); 26 content::WebContents* web_contents);
27 friend class content::WebContentsUserData<ResourcePrefetchPredictorTabHelper>; 27 friend class content::WebContentsUserData<ResourcePrefetchPredictorTabHelper>;
28 28
29 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictorTabHelper); 29 DISALLOW_COPY_AND_ASSIGN(ResourcePrefetchPredictorTabHelper);
30 }; 30 };
31 31
32 } // namespace predictors 32 } // namespace predictors
33 33
34 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TAB_HELPER_H_ 34 #endif // CHROME_BROWSER_PREDICTORS_RESOURCE_PREFETCH_PREDICTOR_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698