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

Side by Side Diff: components/security_interstitials/content/security_interstitial_controller_client.h

Issue 2852333003: Rename SafeBrowsingErrorUI to SafeBrowsingLoudErrorUI (Closed)
Patch Set: Move SafeBrowsingErrorUI to SafeBrowsingLoudErrorUI Created 3 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SECURITY_INTERSTITIAL_CONTROLL ER_CLIENT_H_ 5 #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SECURITY_INTERSTITIAL_CONTROLL ER_CLIENT_H_
6 #define COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SECURITY_INTERSTITIAL_CONTROLL ER_CLIENT_H_ 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SECURITY_INTERSTITIAL_CONTROLL ER_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "components/security_interstitials/core/controller_client.h" 9 #include "components/security_interstitials/core/controller_client.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 30 matching lines...) Expand all
41 // security_interstitials::ControllerClient overrides. 41 // security_interstitials::ControllerClient overrides.
42 void GoBack() override; 42 void GoBack() override;
43 void GoBackAfterNavigationCommitted() override; 43 void GoBackAfterNavigationCommitted() override;
44 void Proceed() override; 44 void Proceed() override;
45 void Reload() override; 45 void Reload() override;
46 void OpenUrlInCurrentTab(const GURL& url) override; 46 void OpenUrlInCurrentTab(const GURL& url) override;
47 PrefService* GetPrefService() override; 47 PrefService* GetPrefService() override;
48 const std::string& GetApplicationLocale() const override; 48 const std::string& GetApplicationLocale() const override;
49 bool CanLaunchDateAndTimeSettings() override; 49 bool CanLaunchDateAndTimeSettings() override;
50 void LaunchDateAndTimeSettings() override; 50 void LaunchDateAndTimeSettings() override;
51 bool IsWebView() override;
51 52
52 protected: 53 protected:
53 // security_interstitials::ControllerClient overrides. 54 // security_interstitials::ControllerClient overrides.
54 const std::string GetExtendedReportingPrefName() const override; 55 const std::string GetExtendedReportingPrefName() const override;
55 content::WebContents* web_contents_; 56 content::WebContents* web_contents_;
56 57
57 private: 58 private:
58 content::InterstitialPage* interstitial_page_; 59 content::InterstitialPage* interstitial_page_;
59 PrefService* prefs_; 60 PrefService* prefs_;
60 const std::string app_locale_; 61 const std::string app_locale_;
61 // The default safe page we should go to if there is no previous page to go 62 // The default safe page we should go to if there is no previous page to go
62 // back to, e.g. chrome:kChromeUINewTabURL. 63 // back to, e.g. chrome:kChromeUINewTabURL.
63 const GURL default_safe_page_; 64 const GURL default_safe_page_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(SecurityInterstitialControllerClient); 66 DISALLOW_COPY_AND_ASSIGN(SecurityInterstitialControllerClient);
66 }; 67 };
67 68
68 } // namespace security_interstitials 69 } // namespace security_interstitials
69 70
70 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SECURITY_INTERSTITIAL_CONTR OLLER_CLIENT_H_ 71 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CONTENT_SECURITY_INTERSTITIAL_CONTR OLLER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698