| Index: components/policy/core/common/cloud/user_info_fetcher.h
|
| diff --git a/chrome/browser/policy/cloud/user_info_fetcher.h b/components/policy/core/common/cloud/user_info_fetcher.h
|
| similarity index 83%
|
| rename from chrome/browser/policy/cloud/user_info_fetcher.h
|
| rename to components/policy/core/common/cloud/user_info_fetcher.h
|
| index 1dab0ec316df19f85443fd5f58456e5ce6c861fa..c248d81b06852ccdddc8f5318a6fd8ed5f724d0b 100644
|
| --- a/chrome/browser/policy/cloud/user_info_fetcher.h
|
| +++ b/components/policy/core/common/cloud/user_info_fetcher.h
|
| @@ -2,11 +2,12 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_POLICY_CLOUD_USER_INFO_FETCHER_H_
|
| -#define CHROME_BROWSER_POLICY_CLOUD_USER_INFO_FETCHER_H_
|
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_
|
| +#define COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_
|
|
|
| #include <string>
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "components/policy/policy_export.h"
|
| #include "net/url_request/url_fetcher_delegate.h"
|
|
|
| class GoogleServiceAuthError;
|
| @@ -24,9 +25,9 @@ namespace policy {
|
|
|
| // Class that makes a UserInfo request, parses the response, and notifies
|
| // a provided Delegate when the request is complete.
|
| -class UserInfoFetcher : public net::URLFetcherDelegate {
|
| +class POLICY_EXPORT UserInfoFetcher : public net::URLFetcherDelegate {
|
| public:
|
| - class Delegate {
|
| + class POLICY_EXPORT Delegate {
|
| public:
|
| // Invoked when the UserInfo request has succeeded, passing the parsed
|
| // response in |response|. Delegate may free the UserInfoFetcher in this
|
| @@ -60,4 +61,4 @@ class UserInfoFetcher : public net::URLFetcherDelegate {
|
|
|
| } // namespace policy
|
|
|
| -#endif // CHROME_BROWSER_POLICY_CLOUD_USER_INFO_FETCHER_H_
|
| +#endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_
|
|
|