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

Side by Side Diff: components/security_interstitials/core/controller_client.h

Issue 2603433002: Move SecurityInterstitialPage into component (Closed)
Patch Set: missed some changes in rebase Created 3 years, 11 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 // Reload the blocked page to see if it succeeds now. 83 // Reload the blocked page to see if it succeeds now.
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;
93
92 protected: 94 protected:
93 virtual const std::string& GetApplicationLocale() = 0; 95 virtual const std::string GetExtendedReportingPrefName() const = 0;
94 virtual const std::string GetExtendedReportingPrefName() = 0;
95 96
96 private: 97 private:
97 std::unique_ptr<MetricsHelper> metrics_helper_; 98 std::unique_ptr<MetricsHelper> metrics_helper_;
98 99
99 DISALLOW_COPY_AND_ASSIGN(ControllerClient); 100 DISALLOW_COPY_AND_ASSIGN(ControllerClient);
100 }; 101 };
101 102
102 } // namespace security_interstitials 103 } // namespace security_interstitials
103 104
104 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_CONTROLLER_CLIENT_H_ 105 #endif // COMPONENTS_SECURITY_INTERSTITIALS_CORE_CONTROLLER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698