OLD | NEW |
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 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_ | 5 #ifndef COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_ |
6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_ | 6 #define COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "components/policy/policy_export.h" | 11 #include "components/policy/policy_export.h" |
11 #include "net/url_request/url_fetcher_delegate.h" | 12 #include "net/url_request/url_fetcher_delegate.h" |
12 | 13 |
13 class GoogleServiceAuthError; | 14 class GoogleServiceAuthError; |
14 | 15 |
15 namespace base { | 16 namespace base { |
16 class DictionaryValue; | 17 class DictionaryValue; |
17 } | 18 } |
18 | 19 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 Delegate* delegate_; | 56 Delegate* delegate_; |
56 net::URLRequestContextGetter* context_; | 57 net::URLRequestContextGetter* context_; |
57 scoped_ptr<net::URLFetcher> url_fetcher_; | 58 scoped_ptr<net::URLFetcher> url_fetcher_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(UserInfoFetcher); | 60 DISALLOW_COPY_AND_ASSIGN(UserInfoFetcher); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace policy | 63 } // namespace policy |
63 | 64 |
64 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_ | 65 #endif // COMPONENTS_POLICY_CORE_COMMON_CLOUD_USER_INFO_FETCHER_H_ |
OLD | NEW |