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

Side by Side Diff: components/security_interstitials/core/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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CORE_CONTROLLER_CLIENT_H_ 5 #ifndef COMPONENTS_SECURITY_INTERSTITIALS_CORE_CONTROLLER_CLIENT_H_
6 #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_CONTROLLER_CLIENT_H_ 6 #define COMPONENTS_SECURITY_INTERSTITIALS_CORE_CONTROLLER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 virtual void Reload() = 0; 84 virtual void Reload() = 0;
85 85
86 MetricsHelper* metrics_helper() const; 86 MetricsHelper* metrics_helper() const;
87 87
88 virtual void OpenUrlInCurrentTab(const GURL& url) = 0; 88 virtual void OpenUrlInCurrentTab(const GURL& url) = 0;
89 89
90 virtual PrefService* GetPrefService() = 0; 90 virtual PrefService* GetPrefService() = 0;
91 91
92 virtual const std::string& GetApplicationLocale() const = 0; 92 virtual const std::string& GetApplicationLocale() const = 0;
93 93
94 // Wehether the interstitial is being displayed in a WebView.
95 virtual bool IsWebView() = 0;
felt 2017/05/03 18:17:01 Instead of adding "IsWebView()", there should be a
96
94 protected: 97 protected:
95 virtual const std::string GetExtendedReportingPrefName() const = 0; 98 virtual const std::string GetExtendedReportingPrefName() const = 0;
96 99
97 private: 100 private:
98 std::unique_ptr<MetricsHelper> metrics_helper_; 101 std::unique_ptr<MetricsHelper> metrics_helper_;
99 102
100 DISALLOW_COPY_AND_ASSIGN(ControllerClient); 103 DISALLOW_COPY_AND_ASSIGN(ControllerClient);
101 }; 104 };
102 105
103 } // namespace security_interstitials 106 } // namespace security_interstitials
104 107
105 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_CONTROLLER_CLIENT_H_ 108 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_CONTROLLER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698