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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2568593002: MD Settings: Internet: Only show detailed info for primary user. (Closed)
Patch Set: Add @private Created 4 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 | « chrome/browser/resources/settings/internet_page/internet_detail_page.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 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 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 {"networkButtonActivate", IDS_SETTINGS_INTERNET_BUTTON_ACTIVATE}, 801 {"networkButtonActivate", IDS_SETTINGS_INTERNET_BUTTON_ACTIVATE},
802 {"networkButtonConfigure", IDS_SETTINGS_INTERNET_BUTTON_CONFIGURE}, 802 {"networkButtonConfigure", IDS_SETTINGS_INTERNET_BUTTON_CONFIGURE},
803 {"networkButtonConnect", IDS_SETTINGS_INTERNET_BUTTON_CONNECT}, 803 {"networkButtonConnect", IDS_SETTINGS_INTERNET_BUTTON_CONNECT},
804 {"networkButtonDisconnect", IDS_SETTINGS_INTERNET_BUTTON_DISCONNECT}, 804 {"networkButtonDisconnect", IDS_SETTINGS_INTERNET_BUTTON_DISCONNECT},
805 {"networkButtonForget", IDS_SETTINGS_INTERNET_BUTTON_FORGET}, 805 {"networkButtonForget", IDS_SETTINGS_INTERNET_BUTTON_FORGET},
806 {"networkButtonSaveApn", IDS_SETTINGS_INTERNET_BUTTON_SAVE_APN}, 806 {"networkButtonSaveApn", IDS_SETTINGS_INTERNET_BUTTON_SAVE_APN},
807 {"networkButtonViewAccount", IDS_SETTINGS_INTERNET_BUTTON_VIEW_ACCOUNT}, 807 {"networkButtonViewAccount", IDS_SETTINGS_INTERNET_BUTTON_VIEW_ACCOUNT},
808 {"networkIPAddress", IDS_SETTINGS_INTERNET_NETWORK_IP_ADDRESS}, 808 {"networkIPAddress", IDS_SETTINGS_INTERNET_NETWORK_IP_ADDRESS},
809 {"networkIPConfigAuto", IDS_SETTINGS_INTERNET_NETWORK_IP_CONFIG_AUTO}, 809 {"networkIPConfigAuto", IDS_SETTINGS_INTERNET_NETWORK_IP_CONFIG_AUTO},
810 {"networkPrefer", IDS_SETTINGS_INTERNET_NETWORK_PREFER}, 810 {"networkPrefer", IDS_SETTINGS_INTERNET_NETWORK_PREFER},
811 {"networkPrimaryUserControlled",
812 IDS_SETTINGS_INTERNET_NETWORK_PRIMARY_USER_CONTROLLED},
811 {"networkProxy", IDS_SETTINGS_INTERNET_NETWORK_PROXY_PROXY}, 813 {"networkProxy", IDS_SETTINGS_INTERNET_NETWORK_PROXY_PROXY},
812 {"networkProxyAddException", 814 {"networkProxyAddException",
813 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ADD_EXCEPTION}, 815 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ADD_EXCEPTION},
814 {"networkProxyAllowShared", 816 {"networkProxyAllowShared",
815 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED}, 817 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED},
816 {"networkProxyAllowSharedWarningTitle", 818 {"networkProxyAllowSharedWarningTitle",
817 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_TITLE}, 819 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_TITLE},
818 {"networkProxyAllowSharedWarningMessage", 820 {"networkProxyAllowSharedWarningMessage",
819 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_MESSAGE}, 821 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_MESSAGE},
820 {"networkProxyAutoConfig", 822 {"networkProxyAutoConfig",
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 #if defined(USE_NSS_CERTS) 1851 #if defined(USE_NSS_CERTS)
1850 AddCertificateManagerStrings(html_source); 1852 AddCertificateManagerStrings(html_source);
1851 #endif 1853 #endif
1852 1854
1853 policy_indicator::AddLocalizedStrings(html_source); 1855 policy_indicator::AddLocalizedStrings(html_source);
1854 1856
1855 html_source->SetJsonPath(kLocalizedStringsFile); 1857 html_source->SetJsonPath(kLocalizedStringsFile);
1856 } 1858 }
1857 1859
1858 } // namespace settings 1860 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/internet_page/internet_detail_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698