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

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

Issue 2897773002: Show proper message in about Chrome OS page (Closed)
Patch Set: Prevent updated status when dialog is shown Created 3 years, 7 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_UTILS_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 11
12 namespace help_utils_chromeos { 12 namespace help_utils_chromeos {
13 13
14 // Returns true if update over cellular networks is enabled. 14 // Returns true if update over cellular networks is enabled. |interactive|
15 bool IsUpdateOverCellularAllowed(); 15 // indicates whether the user is actively checking for update. By default, we
16 // allow updates in Chrome UI if the user triggers the action (e.g clicking
17 // a button) and leave the final decision as to whether to allow such updates
18 // up to the update engine.
stevenjb 2017/05/22 22:57:32 This comment confused me until I examined the code
weidongg 2017/05/23 00:17:00 Sorry for the confusing comment. Thanks, this is m
19 bool IsUpdateOverCellularAllowed(bool interactive);
16 20
17 // Returns localized name for the connection |type|. 21 // Returns localized name for the connection |type|.
18 base::string16 GetConnectionTypeAsUTF16(const std::string& type); 22 base::string16 GetConnectionTypeAsUTF16(const std::string& type);
19 23
20 } // namespace help_utils_chromeos 24 } // namespace help_utils_chromeos
21 25
22 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_ 26 #endif // CHROME_BROWSER_UI_WEBUI_HELP_HELP_UTILS_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698