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

Side by Side Diff: chrome/browser/policy/cloud_policy_validator.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/cloud_policy_validator.h" 5 #include "chrome/browser/policy/cloud_policy_validator.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "chrome/browser/policy/cloud_policy_constants.h" 11 #include "chrome/browser/policy/cloud_policy_constants.h"
12 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h" 12 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h"
13 #include "chrome/browser/policy/proto/cloud_policy.pb.h" 13 #include "chrome/browser/policy/proto/cloud_policy.pb.h"
14 #include "chrome/browser/policy/proto/device_management_backend.pb.h" 14 #include "chrome/browser/policy/proto/device_management_backend.pb.h"
15 #include "chrome/common/net/gaia/gaia_auth_util.h"
16 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
17 #include "crypto/signature_verifier.h" 16 #include "crypto/signature_verifier.h"
17 #include "google_apis/gaia/gaia_auth_util.h"
18 18
19 namespace em = enterprise_management; 19 namespace em = enterprise_management;
20 20
21 namespace policy { 21 namespace policy {
22 22
23 namespace { 23 namespace {
24 24
25 // Grace interval for policy timestamp checks, in seconds. 25 // Grace interval for policy timestamp checks, in seconds.
26 const int kTimestampGraceIntervalSeconds = 60; 26 const int kTimestampGraceIntervalSeconds = 60;
27 27
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 : CloudPolicyValidatorBase(policy_response.Pass(), payload.get(), 350 : CloudPolicyValidatorBase(policy_response.Pass(), payload.get(),
351 base::Bind(completion_callback, this)), 351 base::Bind(completion_callback, this)),
352 payload_(payload.Pass()) {} 352 payload_(payload.Pass()) {}
353 353
354 template class CloudPolicyValidator< 354 template class CloudPolicyValidator<
355 enterprise_management::ChromeDeviceSettingsProto>; 355 enterprise_management::ChromeDeviceSettingsProto>;
356 template class CloudPolicyValidator< 356 template class CloudPolicyValidator<
357 enterprise_management::CloudPolicySettings>; 357 enterprise_management::CloudPolicySettings>;
358 358
359 } // namespace policy 359 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/browser_policy_connector.cc ('k') | chrome/browser/policy/device_policy_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698