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 THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_METADATA_SOURCE_H_ | 5 #ifndef THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_METADATA_SOURCE_H_ |
6 #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_METADATA_SOURCE_H_ | 6 #define THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_METADATA_SOURCE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/scoped_vector.h" | |
12 #include "net/url_request/url_fetcher_delegate.h" | 11 #include "net/url_request/url_fetcher_delegate.h" |
13 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/source.h" | 12 #include "third_party/libaddressinput/src/cpp/include/libaddressinput/source.h" |
14 | 13 |
15 namespace net { | 14 namespace net { |
16 class URLFetcher; | 15 class URLFetcher; |
17 class URLRequestContextGetter; | 16 class URLRequestContextGetter; |
18 } | 17 } |
19 | 18 |
20 namespace autofill { | 19 namespace autofill { |
21 | 20 |
(...skipping 35 matching lines...) Loading... |
57 | 56 |
58 // Maps from active URL fetcher to request metadata. The value is owned. | 57 // Maps from active URL fetcher to request metadata. The value is owned. |
59 std::map<const net::URLFetcher*, Request*> requests_; | 58 std::map<const net::URLFetcher*, Request*> requests_; |
60 | 59 |
61 DISALLOW_COPY_AND_ASSIGN(ChromeMetadataSource); | 60 DISALLOW_COPY_AND_ASSIGN(ChromeMetadataSource); |
62 }; | 61 }; |
63 | 62 |
64 } // namespace autofill | 63 } // namespace autofill |
65 | 64 |
66 #endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_METADATA_SOURCE_H_ | 65 #endif // THIRD_PARTY_LIBADDRESSINPUT_CHROMIUM_CHROME_METADATA_SOURCE_H_ |
OLD | NEW |