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

Side by Side Diff: chrome/browser/ui/webui/chromeos/certificate_manager_dialog_ui.h

Issue 2763013003: Specify AllowCaching = false for some ChromeOS UI pages (Closed)
Patch Set: build fix Created 3 years, 9 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_UI_WEBUI_CHROMEOS_CERTIFICATE_MANAGER_DIALOG_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_CERTIFICATE_MANAGER_DIALOG_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_CERTIFICATE_MANAGER_DIALOG_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_CERTIFICATE_MANAGER_DIALOG_UI_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/options/options_ui.h" 9 #include "chrome/browser/ui/webui/options/options_ui.h"
10 #include "ui/web_dialogs/web_dialog_ui.h" 10 #include "ui/web_dialogs/web_dialog_ui.h"
11 11
12 namespace options { 12 namespace options {
13 class CertificateManagerHandler; 13 class CertificateManagerHandler;
14 } 14 }
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 namespace options { 18 namespace options {
19 class CoreChromeOSOptionsHandler; 19 class CoreChromeOSOptionsHandler;
20 } 20 }
21 21
22 // A WebUI to host certificate manager split from the main settings page. 22 // A WebUI to host certificate manager split from the main settings page.
23 class CertificateManagerDialogUI : public ui::WebDialogUI, 23 class CertificateManagerDialogUI : public ui::WebDialogUI,
24 public ::options::OptionsPageUIHandlerHost { 24 public ::options::OptionsPageUIHandlerHost {
25 public: 25 public:
26 explicit CertificateManagerDialogUI(content::WebUI* web_ui); 26 explicit CertificateManagerDialogUI(content::WebUI* web_ui);
27 ~CertificateManagerDialogUI() override; 27 ~CertificateManagerDialogUI() override;
28 28
29 bool AllowCaching() const override;
stevenjb 2017/03/22 20:50:29 Override from what class? e.g. see comment on line
Takashi Toyoshima 2017/03/23 05:54:39 Sorry, this CL wasn't published yet, and current s
30
29 private: 31 private:
30 // Overridden from OptionsPageUIHandlerHost: 32 // Overridden from OptionsPageUIHandlerHost:
31 void InitializeHandlers() override; 33 void InitializeHandlers() override;
32 34
33 bool initialized_handlers_; 35 bool initialized_handlers_;
34 36
35 ::options::CertificateManagerHandler* cert_handler_ = nullptr; 37 ::options::CertificateManagerHandler* cert_handler_ = nullptr;
36 options::CoreChromeOSOptionsHandler* core_handler_ = nullptr; 38 options::CoreChromeOSOptionsHandler* core_handler_ = nullptr;
37 39
38 DISALLOW_COPY_AND_ASSIGN(CertificateManagerDialogUI); 40 DISALLOW_COPY_AND_ASSIGN(CertificateManagerDialogUI);
39 }; 41 };
40 42
41 } // namespace chromeos 43 } // namespace chromeos
42 44
43 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_CERTIFICATE_MANAGER_DIALOG_UI_H_ 45 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_CERTIFICATE_MANAGER_DIALOG_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698