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

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: Rebase 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
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 787 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 {"networkButtonActivate", IDS_SETTINGS_INTERNET_BUTTON_ACTIVATE}, 798 {"networkButtonActivate", IDS_SETTINGS_INTERNET_BUTTON_ACTIVATE},
799 {"networkButtonConfigure", IDS_SETTINGS_INTERNET_BUTTON_CONFIGURE}, 799 {"networkButtonConfigure", IDS_SETTINGS_INTERNET_BUTTON_CONFIGURE},
800 {"networkButtonConnect", IDS_SETTINGS_INTERNET_BUTTON_CONNECT}, 800 {"networkButtonConnect", IDS_SETTINGS_INTERNET_BUTTON_CONNECT},
801 {"networkButtonDisconnect", IDS_SETTINGS_INTERNET_BUTTON_DISCONNECT}, 801 {"networkButtonDisconnect", IDS_SETTINGS_INTERNET_BUTTON_DISCONNECT},
802 {"networkButtonForget", IDS_SETTINGS_INTERNET_BUTTON_FORGET}, 802 {"networkButtonForget", IDS_SETTINGS_INTERNET_BUTTON_FORGET},
803 {"networkButtonSaveApn", IDS_SETTINGS_INTERNET_BUTTON_SAVE_APN}, 803 {"networkButtonSaveApn", IDS_SETTINGS_INTERNET_BUTTON_SAVE_APN},
804 {"networkButtonViewAccount", IDS_SETTINGS_INTERNET_BUTTON_VIEW_ACCOUNT}, 804 {"networkButtonViewAccount", IDS_SETTINGS_INTERNET_BUTTON_VIEW_ACCOUNT},
805 {"networkIPAddress", IDS_SETTINGS_INTERNET_NETWORK_IP_ADDRESS}, 805 {"networkIPAddress", IDS_SETTINGS_INTERNET_NETWORK_IP_ADDRESS},
806 {"networkIPConfigAuto", IDS_SETTINGS_INTERNET_NETWORK_IP_CONFIG_AUTO}, 806 {"networkIPConfigAuto", IDS_SETTINGS_INTERNET_NETWORK_IP_CONFIG_AUTO},
807 {"networkPrefer", IDS_SETTINGS_INTERNET_NETWORK_PREFER}, 807 {"networkPrefer", IDS_SETTINGS_INTERNET_NETWORK_PREFER},
808 {"networkPrimaryUserControlled",
809 IDS_SETTINGS_INTERNET_NETWORK_PRIMARY_USER_CONTROLLED},
808 {"networkProxy", IDS_SETTINGS_INTERNET_NETWORK_PROXY_PROXY}, 810 {"networkProxy", IDS_SETTINGS_INTERNET_NETWORK_PROXY_PROXY},
809 {"networkProxyAddException", 811 {"networkProxyAddException",
810 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ADD_EXCEPTION}, 812 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ADD_EXCEPTION},
811 {"networkProxyAllowShared", 813 {"networkProxyAllowShared",
812 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED}, 814 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED},
813 {"networkProxyAllowSharedWarningTitle", 815 {"networkProxyAllowSharedWarningTitle",
814 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_TITLE}, 816 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_TITLE},
815 {"networkProxyAllowSharedWarningMessage", 817 {"networkProxyAllowSharedWarningMessage",
816 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_MESSAGE}, 818 IDS_SETTINGS_INTERNET_NETWORK_PROXY_ALLOW_SHARED_WARNING_MESSAGE},
817 {"networkProxyAutoConfig", 819 {"networkProxyAutoConfig",
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 #if defined(USE_NSS_CERTS) 1848 #if defined(USE_NSS_CERTS)
1847 AddCertificateManagerStrings(html_source); 1849 AddCertificateManagerStrings(html_source);
1848 #endif 1850 #endif
1849 1851
1850 policy_indicator::AddLocalizedStrings(html_source); 1852 policy_indicator::AddLocalizedStrings(html_source);
1851 1853
1852 html_source->SetJsonPath(kLocalizedStringsFile); 1854 html_source->SetJsonPath(kLocalizedStringsFile);
1853 } 1855 }
1854 1856
1855 } // namespace settings 1857 } // namespace settings
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698