OLD | NEW |
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 #include "chrome/browser/ui/webui/options2/chromeos/internet_options_handler2.h" | 5 #include "chrome/browser/ui/webui/options2/chromeos/internet_options_handler.h" |
6 | 6 |
7 #include <ctype.h> | 7 #include <ctype.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "ash/shell.h" | 13 #include "ash/shell.h" |
14 #include "ash/shell_delegate.h" | 14 #include "ash/shell_delegate.h" |
15 #include "base/base64.h" | 15 #include "base/base64.h" |
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1464 if (default_value) | 1464 if (default_value) |
1465 value_dict->Set("default", default_value->DeepCopy()); | 1465 value_dict->Set("default", default_value->DeepCopy()); |
1466 if (ui_data.managed()) | 1466 if (ui_data.managed()) |
1467 value_dict->SetString("controlledBy", "policy"); | 1467 value_dict->SetString("controlledBy", "policy"); |
1468 else if (ui_data.recommended()) | 1468 else if (ui_data.recommended()) |
1469 value_dict->SetString("controlledBy", "recommended"); | 1469 value_dict->SetString("controlledBy", "recommended"); |
1470 settings->Set(key, value_dict); | 1470 settings->Set(key, value_dict); |
1471 } | 1471 } |
1472 | 1472 |
1473 } // namespace options2 | 1473 } // namespace options2 |
OLD | NEW |