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

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

Issue 1905113002: Add ARC version to help and version pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 8 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 const base::string16& fail_message); 92 const base::string16& fail_message);
93 93
94 #if defined(OS_MACOSX) 94 #if defined(OS_MACOSX)
95 // Callback method which forwards promotion state to the page. 95 // Callback method which forwards promotion state to the page.
96 void SetPromotionState(VersionUpdater::PromotionState state); 96 void SetPromotionState(VersionUpdater::PromotionState state);
97 #endif 97 #endif
98 98
99 #if defined(OS_CHROMEOS) 99 #if defined(OS_CHROMEOS)
100 // Callbacks from VersionLoader. 100 // Callbacks from VersionLoader.
101 void OnOSVersion(const std::string& version); 101 void OnOSVersion(const std::string& version);
102 void OnARCVersion(const std::string& firmware);
102 void OnOSFirmware(const std::string& firmware); 103 void OnOSFirmware(const std::string& firmware);
103 void OnCurrentChannel(const std::string& channel); 104 void OnCurrentChannel(const std::string& channel);
104 void OnTargetChannel(const std::string& channel); 105 void OnTargetChannel(const std::string& channel);
105 106
106 // 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
107 // text has been found. 108 // text has been found.
108 void OnRegulatoryLabelDirFound(const base::FilePath& path); 109 void OnRegulatoryLabelDirFound(const base::FilePath& path);
109 110
110 // Callback for setting the regulatory label source. 111 // Callback for setting the regulatory label source.
111 void OnRegulatoryLabelImageFound(const base::FilePath& path); 112 void OnRegulatoryLabelImageFound(const base::FilePath& path);
(...skipping 11 matching lines...) Expand all
123 // Used to observe changes in the |kDeviceAutoUpdateDisabled| policy. 124 // Used to observe changes in the |kDeviceAutoUpdateDisabled| policy.
124 policy::PolicyChangeRegistrar policy_registrar_; 125 policy::PolicyChangeRegistrar policy_registrar_;
125 126
126 // Used for callbacks. 127 // Used for callbacks.
127 base::WeakPtrFactory<HelpHandler> weak_factory_; 128 base::WeakPtrFactory<HelpHandler> weak_factory_;
128 129
129 DISALLOW_COPY_AND_ASSIGN(HelpHandler); 130 DISALLOW_COPY_AND_ASSIGN(HelpHandler);
130 }; 131 };
131 132
132 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_ 133 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/help/help_page.js ('k') | chrome/browser/ui/webui/help/help_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698