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

Side by Side Diff: chrome/browser/supervised_user/supervised_user_interstitial.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (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_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ 5 #ifndef CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_
6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ 6 #define CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 20 matching lines...) Expand all
31 31
32 private: 32 private:
33 SupervisedUserInterstitial(content::WebContents* web_contents, 33 SupervisedUserInterstitial(content::WebContents* web_contents,
34 const GURL& url, 34 const GURL& url,
35 const base::Callback<void(bool)>& callback); 35 const base::Callback<void(bool)>& callback);
36 virtual ~SupervisedUserInterstitial(); 36 virtual ~SupervisedUserInterstitial();
37 37
38 bool Init(); 38 bool Init();
39 39
40 // InterstitialPageDelegate implementation. 40 // InterstitialPageDelegate implementation.
41 virtual std::string GetHTMLContents() OVERRIDE; 41 virtual std::string GetHTMLContents() override;
42 virtual void CommandReceived(const std::string& command) OVERRIDE; 42 virtual void CommandReceived(const std::string& command) override;
43 virtual void OnProceed() OVERRIDE; 43 virtual void OnProceed() override;
44 virtual void OnDontProceed() OVERRIDE; 44 virtual void OnDontProceed() override;
45 45
46 // SupervisedUserServiceObserver implementation. 46 // SupervisedUserServiceObserver implementation.
47 virtual void OnURLFilterChanged() OVERRIDE; 47 virtual void OnURLFilterChanged() override;
48 48
49 // Returns whether the blocked URL is now allowed. Called initially before the 49 // Returns whether the blocked URL is now allowed. Called initially before the
50 // interstitial is shown (to catch race conditions), or when the URL filtering 50 // interstitial is shown (to catch race conditions), or when the URL filtering
51 // prefs change. 51 // prefs change.
52 bool ShouldProceed(); 52 bool ShouldProceed();
53 53
54 void DispatchContinueRequest(bool continue_request); 54 void DispatchContinueRequest(bool continue_request);
55 55
56 // Owns the interstitial, which owns us. 56 // Owns the interstitial, which owns us.
57 content::WebContents* web_contents_; 57 content::WebContents* web_contents_;
58 58
59 Profile* profile_; 59 Profile* profile_;
60 60
61 content::InterstitialPage* interstitial_page_; // Owns us. 61 content::InterstitialPage* interstitial_page_; // Owns us.
62 62
63 GURL url_; 63 GURL url_;
64 64
65 base::Callback<void(bool)> callback_; 65 base::Callback<void(bool)> callback_;
66 66
67 DISALLOW_COPY_AND_ASSIGN(SupervisedUserInterstitial); 67 DISALLOW_COPY_AND_ASSIGN(SupervisedUserInterstitial);
68 }; 68 };
69 69
70 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_ 70 #endif // CHROME_BROWSER_SUPERVISED_USER_SUPERVISED_USER_INTERSTITIAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698