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

Side by Side Diff: chrome/browser/policy/registry_dict_win.cc

Issue 22807004: Moved chrome/common/json_schema to components/json_schema. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed android isolates Created 7 years, 4 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 | Annotate | Revision Log
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 #include "chrome/browser/policy/registry_dict_win.h" 5 #include "chrome/browser/policy/registry_dict_win.h"
6 6
7 #include "base/json/json_reader.h" 7 #include "base/json/json_reader.h"
8 #include "base/stl_util.h" 8 #include "base/stl_util.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/sys_byteorder.h" 12 #include "base/sys_byteorder.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "base/win/registry.h" 14 #include "base/win/registry.h"
15 #include "chrome/common/json_schema/json_schema_constants.h" 15 #include "components/json_schema/json_schema_constants.h"
16 16
17 namespace schema = json_schema_constants; 17 namespace schema = json_schema_constants;
18 18
19 using base::win::RegistryKeyIterator; 19 using base::win::RegistryKeyIterator;
20 using base::win::RegistryValueIterator; 20 using base::win::RegistryValueIterator;
21 21
22 namespace policy { 22 namespace policy {
23 23
24 namespace { 24 namespace {
25 25
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 return result.Pass(); 391 return result.Pass();
392 } 392 }
393 default: 393 default:
394 LOG(WARNING) << "Can't convert registry key to schema type " << type; 394 LOG(WARNING) << "Can't convert registry key to schema type " << type;
395 } 395 }
396 396
397 return make_scoped_ptr(base::Value::CreateNullValue()); 397 return make_scoped_ptr(base::Value::CreateNullValue());
398 } 398 }
399 399
400 } // namespace policy 400 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/policy_loader_win_unittest.cc ('k') | chrome/browser/policy/registry_dict_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698