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/policy/configuration_policy_handler_chromeos.h" | 5 #include "chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h
" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/json/json_reader.h" | 9 #include "base/json/json_reader.h" |
10 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/prefs/pref_value_map.h" | 12 #include "base/prefs/pref_value_map.h" |
13 #include "base/string_util.h" | 13 #include "base/string_util.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "chrome/browser/policy/policy_error_map.h" | 15 #include "chrome/browser/policy/policy_error_map.h" |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 base::DictionaryValue* app_dict = new base::DictionaryValue(); | 198 base::DictionaryValue* app_dict = new base::DictionaryValue(); |
199 app_dict->SetString(ash::kPinnedAppsPrefAppIDPath, id); | 199 app_dict->SetString(ash::kPinnedAppsPrefAppIDPath, id); |
200 pinned_apps_list->Append(app_dict); | 200 pinned_apps_list->Append(app_dict); |
201 } | 201 } |
202 } | 202 } |
203 prefs->SetValue(pref_path(), pinned_apps_list); | 203 prefs->SetValue(pref_path(), pinned_apps_list); |
204 } | 204 } |
205 } | 205 } |
206 | 206 |
207 } // namespace policy | 207 } // namespace policy |
OLD | NEW |