| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_TEMPLATE_URL_FETCHER_H__ | 5 #ifndef CHROME_BROWSER_TEMPLATE_URL_FETCHER_H__ |
| 6 #define CHROME_BROWSER_TEMPLATE_URL_FETCHER_H__ | 6 #define CHROME_BROWSER_TEMPLATE_URL_FETCHER_H__ |
| 7 | 7 |
| 8 #include "chrome/browser/net/url_fetcher.h" |
| 8 #include "chrome/browser/profile.h" | 9 #include "chrome/browser/profile.h" |
| 9 #include "chrome/browser/url_fetcher.h" | |
| 10 #include "chrome/common/scoped_vector.h" | 10 #include "chrome/common/scoped_vector.h" |
| 11 | 11 |
| 12 class GURL; | 12 class GURL; |
| 13 class Profile; | 13 class Profile; |
| 14 class TemplateURL; | 14 class TemplateURL; |
| 15 class WebContents; | 15 class WebContents; |
| 16 | 16 |
| 17 // TemplateURLFetcher is responsible for downloading OpenSearch description | 17 // TemplateURLFetcher is responsible for downloading OpenSearch description |
| 18 // documents, creating a TemplateURL from the OSDD, and adding the TemplateURL | 18 // documents, creating a TemplateURL from the OSDD, and adding the TemplateURL |
| 19 // to the TemplateURLModel. Downloading is done in the background. | 19 // to the TemplateURLModel. Downloading is done in the background. |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 Profile* profile_; | 95 Profile* profile_; |
| 96 | 96 |
| 97 // In progress requests. | 97 // In progress requests. |
| 98 ScopedVector<RequestDelegate> requests_; | 98 ScopedVector<RequestDelegate> requests_; |
| 99 | 99 |
| 100 DISALLOW_EVIL_CONSTRUCTORS(TemplateURLFetcher); | 100 DISALLOW_EVIL_CONSTRUCTORS(TemplateURLFetcher); |
| 101 }; | 101 }; |
| 102 | 102 |
| 103 #endif // CHROME_BROWSER_OSDD_FETCHER_H__ | 103 #endif // CHROME_BROWSER_OSDD_FETCHER_H__ |
| 104 | 104 |
| OLD | NEW |