OLD | NEW |
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 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_H_ |
6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_H_ | 6 #define CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_vector.h" | 9 #include "base/scoped_vector.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 | 12 |
13 class GURL; | 13 class GURL; |
14 class Profile; | 14 class Profile; |
15 class TemplateURL; | 15 class TemplateURL; |
16 class TemplateURLFetcherCallbacks; | 16 class TemplateURLFetcherCallbacks; |
17 | 17 |
18 // TemplateURLFetcher is responsible for downloading OpenSearch description | 18 // TemplateURLFetcher is responsible for downloading OpenSearch description |
19 // documents, creating a TemplateURL from the OSDD, and adding the TemplateURL | 19 // documents, creating a TemplateURL from the OSDD, and adding the TemplateURL |
20 // to the TemplateURLModel. Downloading is done in the background. | 20 // to the TemplateURLModel. Downloading is done in the background. |
21 // | 21 // |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 Profile* profile_; | 58 Profile* profile_; |
59 | 59 |
60 // In progress requests. | 60 // In progress requests. |
61 ScopedVector<RequestDelegate> requests_; | 61 ScopedVector<RequestDelegate> requests_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(TemplateURLFetcher); | 63 DISALLOW_COPY_AND_ASSIGN(TemplateURLFetcher); |
64 }; | 64 }; |
65 | 65 |
66 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_H_ | 66 #endif // CHROME_BROWSER_SEARCH_ENGINES_TEMPLATE_URL_FETCHER_H_ |
OLD | NEW |