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

Side by Side Diff: chrome/browser/interstitials/chrome_controller_client.h

Issue 1467063002: Introduce the ChromeControllerClient class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bugfix Created 5 years 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
« no previous file with comments | « no previous file | chrome/browser/interstitials/chrome_controller_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_INTERSTITIALS_CHROME_CONTROLLER_CLIENT_H_
6 #define CHROME_BROWSER_INTERSTITIALS_CHROME_CONTROLLER_CLIENT_H_
7
8 #include "base/macros.h"
9 #include "components/security_interstitials/core/controller_client.h"
10
11 namespace content {
12 class WebContents;
13 }
14
15 // Provides embedder-specific logic for the security error page controller.
16 class ChromeControllerClient : public security_interstitials::ControllerClient {
17 public:
18 explicit ChromeControllerClient(content::WebContents* web_contents);
19 ~ChromeControllerClient() override;
20
21 protected:
22 // security_interstitials::ControllerClient overrides
23 void OpenUrlInCurrentTab(const GURL& url) override;
24 const std::string& GetApplicationLocale() override;
25 PrefService* GetPrefService() override;
26 const std::string GetExtendedReportingPrefName() override;
27
28 private:
29 content::WebContents* web_contents_;
30
31 DISALLOW_COPY_AND_ASSIGN(ChromeControllerClient);
32 };
33
34 #endif // CHROME_BROWSER_INTERSTITIALS_CHROME_CONTROLLER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/interstitials/chrome_controller_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698