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

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

Issue 10689175: Refactored code for timezone settings. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added missing comment. Created 8 years, 5 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
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 "chrome/browser/policy/cloud_policy_constants.h" 10 #include "chrome/browser/policy/cloud_policy_constants.h"
11 #include "chrome/browser/policy/proto/chrome_device_policy.pb.h"
12 #include "chrome/browser/policy/proto/cloud_policy.pb.h"
11 #include "chrome/browser/policy/proto/device_management_backend.pb.h" 13 #include "chrome/browser/policy/proto/device_management_backend.pb.h"
12 #include "chrome/common/net/gaia/gaia_auth_util.h" 14 #include "chrome/common/net/gaia/gaia_auth_util.h"
13 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
14 #include "crypto/signature_verifier.h" 16 #include "crypto/signature_verifier.h"
15 17
16 namespace em = enterprise_management; 18 namespace em = enterprise_management;
17 19
18 namespace policy { 20 namespace policy {
19 21
20 namespace { 22 namespace {
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 : CloudPolicyValidatorBase(policy_response.Pass(), payload.get(), 338 : CloudPolicyValidatorBase(policy_response.Pass(), payload.get(),
337 base::Bind(completion_callback, this)), 339 base::Bind(completion_callback, this)),
338 payload_(payload.Pass()) {} 340 payload_(payload.Pass()) {}
339 341
340 template class CloudPolicyValidator< 342 template class CloudPolicyValidator<
341 enterprise_management::ChromeDeviceSettingsProto>; 343 enterprise_management::ChromeDeviceSettingsProto>;
342 template class CloudPolicyValidator< 344 template class CloudPolicyValidator<
343 enterprise_management::CloudPolicySettings>; 345 enterprise_management::CloudPolicySettings>;
344 346
345 } // namespace policy 347 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/policy/cloud_policy_validator.h ('k') | chrome/browser/policy/device_policy_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698