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

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

Issue 10928017: Moving google_apis and GaiaClient to src/google_apis. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head Created 8 years, 3 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 (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/device_policy_cache.h" 5 #include "chrome/browser/policy/device_policy_cache.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/callback.h" 13 #include "base/callback.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "chrome/browser/policy/app_pack_updater.h" 18 #include "chrome/browser/policy/app_pack_updater.h"
19 #include "chrome/browser/policy/cloud_policy_data_store.h" 19 #include "chrome/browser/policy/cloud_policy_data_store.h"
20 #include "chrome/browser/policy/enterprise_install_attributes.h" 20 #include "chrome/browser/policy/enterprise_install_attributes.h"
21 #include "chrome/browser/policy/enterprise_metrics.h" 21 #include "chrome/browser/policy/enterprise_metrics.h"
22 #include "chrome/browser/policy/policy_map.h" 22 #include "chrome/browser/policy/policy_map.h"
23 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" 23 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h"
24 #include "chrome/browser/policy/proto/device_management_backend.pb.h" 24 #include "chrome/browser/policy/proto/device_management_backend.pb.h"
25 #include "chrome/browser/policy/proto/device_management_local.pb.h" 25 #include "chrome/browser/policy/proto/device_management_local.pb.h"
26 #include "chrome/common/net/gaia/gaia_auth_util.h"
27 #include "chromeos/dbus/dbus_thread_manager.h" 26 #include "chromeos/dbus/dbus_thread_manager.h"
28 #include "chromeos/dbus/update_engine_client.h" 27 #include "chromeos/dbus/update_engine_client.h"
28 #include "google_apis/gaia/gaia_auth_util.h"
29 #include "policy/policy_constants.h" 29 #include "policy/policy_constants.h"
30 #include "third_party/cros_system_api/dbus/service_constants.h" 30 #include "third_party/cros_system_api/dbus/service_constants.h"
31 31
32 using google::protobuf::RepeatedField; 32 using google::protobuf::RepeatedField;
33 using google::protobuf::RepeatedPtrField; 33 using google::protobuf::RepeatedPtrField;
34 34
35 namespace em = enterprise_management; 35 namespace em = enterprise_management;
36 36
37 namespace { 37 namespace {
38 38
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 policies->Set(key::kSystemTimezone, 664 policies->Set(key::kSystemTimezone,
665 POLICY_LEVEL_MANDATORY, 665 POLICY_LEVEL_MANDATORY,
666 POLICY_SCOPE_MACHINE, 666 POLICY_SCOPE_MACHINE,
667 Value::CreateStringValue( 667 Value::CreateStringValue(
668 policy.system_timezone().timezone())); 668 policy.system_timezone().timezone()));
669 } 669 }
670 } 670 }
671 } 671 }
672 672
673 } // namespace policy 673 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_validator.cc ('k') | chrome/browser/policy/enterprise_install_attributes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698