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

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

Issue 8373021: Convert URLFetcher::Delegates to use an interface in content/public/common. Also remove the old U... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync and remove unncessary forward declares Created 9 years, 2 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_management_backend_impl.h" 5 #include "chrome/browser/policy/device_management_backend_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/stringprintf.h" 11 #include "base/stringprintf.h"
12 #include "base/sys_info.h" 12 #include "base/sys_info.h"
13 #include "chrome/browser/policy/device_management_service.h" 13 #include "chrome/browser/policy/device_management_service.h"
14 #include "chrome/browser/policy/enterprise_metrics.h" 14 #include "chrome/browser/policy/enterprise_metrics.h"
15 #include "chrome/common/chrome_version_info.h" 15 #include "chrome/common/chrome_version_info.h"
16 #include "content/common/net/url_fetcher.h"
16 #include "net/base/escape.h" 17 #include "net/base/escape.h"
17 #include "net/url_request/url_request_status.h" 18 #include "net/url_request/url_request_status.h"
18 19
19 #if defined(OS_CHROMEOS) 20 #if defined(OS_CHROMEOS)
20 #include "chrome/browser/chromeos/system/statistics_provider.h" 21 #include "chrome/browser/chromeos/system/statistics_provider.h"
21 #endif 22 #endif
22 23
23 namespace policy { 24 namespace policy {
24 25
25 // Name constants for URL query parameters. 26 // Name constants for URL query parameters.
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 case CloudPolicyDataStore::USER_AFFILIATION_MANAGED: 578 case CloudPolicyDataStore::USER_AFFILIATION_MANAGED:
578 return kValueUserAffiliationManaged; 579 return kValueUserAffiliationManaged;
579 case CloudPolicyDataStore::USER_AFFILIATION_NONE: 580 case CloudPolicyDataStore::USER_AFFILIATION_NONE:
580 return kValueUserAffiliationNone; 581 return kValueUserAffiliationNone;
581 } 582 }
582 NOTREACHED(); 583 NOTREACHED();
583 return kValueUserAffiliationNone; 584 return kValueUserAffiliationNone;
584 } 585 }
585 586
586 } // namespace policy 587 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698