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

Side by Side Diff: chrome/browser/ui/webui/help/help_handler.h

Issue 2060623002: Implementation of Device End of Life Notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify browsertest Created 4 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HELP_HELP_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 // Callback for when the directory with the regulatory label image and alt 107 // Callback for when the directory with the regulatory label image and alt
108 // text has been found. 108 // text has been found.
109 void OnRegulatoryLabelDirFound(const base::FilePath& path); 109 void OnRegulatoryLabelDirFound(const base::FilePath& path);
110 110
111 // Callback for setting the regulatory label source. 111 // Callback for setting the regulatory label source.
112 void OnRegulatoryLabelImageFound(const base::FilePath& path); 112 void OnRegulatoryLabelImageFound(const base::FilePath& path);
113 113
114 // Callback for setting the regulatory label alt text. 114 // Callback for setting the regulatory label alt text.
115 void OnRegulatoryLabelTextRead(const std::string& text); 115 void OnRegulatoryLabelTextRead(const std::string& text);
116
117 // Callback for setting the eol string text.
118 void OnEolStatus(const int status);
116 #endif 119 #endif
117 120
118 // Specialized instance of the VersionUpdater used to update the browser. 121 // Specialized instance of the VersionUpdater used to update the browser.
119 std::unique_ptr<VersionUpdater> version_updater_; 122 std::unique_ptr<VersionUpdater> version_updater_;
120 123
121 // Used to observe notifications. 124 // Used to observe notifications.
122 content::NotificationRegistrar registrar_; 125 content::NotificationRegistrar registrar_;
123 126
124 // Used to observe changes in the |kDeviceAutoUpdateDisabled| policy. 127 // Used to observe changes in the |kDeviceAutoUpdateDisabled| policy.
125 policy::PolicyChangeRegistrar policy_registrar_; 128 policy::PolicyChangeRegistrar policy_registrar_;
126 129
127 // Used for callbacks. 130 // Used for callbacks.
128 base::WeakPtrFactory<HelpHandler> weak_factory_; 131 base::WeakPtrFactory<HelpHandler> weak_factory_;
129 132
130 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 133 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
131 }; 134 };
132 135
133 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 136 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698