OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_IMPL_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_IMPL_H_ |
6 #define CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_IMPL_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_IMPL_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "chrome/browser/local_discovery/gcd_api_flow.h" | 9 #include "chrome/browser/local_discovery/gcd_api_flow.h" |
9 #include "net/url_request/url_fetcher.h" | 10 #include "net/url_request/url_fetcher.h" |
10 #include "net/url_request/url_fetcher_delegate.h" | 11 #include "net/url_request/url_fetcher_delegate.h" |
11 | 12 |
12 namespace local_discovery { | 13 namespace local_discovery { |
13 | 14 |
14 namespace { | 15 namespace { |
15 const char kCloudPrintOAuthHeaderFormat[] = "Authorization: Bearer %s"; | 16 const char kCloudPrintOAuthHeaderFormat[] = "Authorization: Bearer %s"; |
16 } | 17 } |
17 | 18 |
(...skipping 29 matching lines...) Expand all Loading... |
47 OAuth2TokenService* token_service_; | 48 OAuth2TokenService* token_service_; |
48 std::string account_id_; | 49 std::string account_id_; |
49 scoped_ptr<Request> request_; | 50 scoped_ptr<Request> request_; |
50 | 51 |
51 DISALLOW_COPY_AND_ASSIGN(GCDApiFlowImpl); | 52 DISALLOW_COPY_AND_ASSIGN(GCDApiFlowImpl); |
52 }; | 53 }; |
53 | 54 |
54 } // namespace local_discovery | 55 } // namespace local_discovery |
55 | 56 |
56 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_IMPL_H_ | 57 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_IMPL_H_ |
OLD | NEW |