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 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" | 5 #include "chrome/browser/dom_ui/chrome_url_data_manager.h" |
6 | 6 |
| 7 #include "app/l10n_util.h" |
7 #include "base/file_util.h" | 8 #include "base/file_util.h" |
8 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
9 #include "base/path_service.h" | 10 #include "base/path_service.h" |
10 #include "base/string_util.h" | 11 #include "base/string_util.h" |
11 #include "base/thread.h" | 12 #include "base/thread.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "chrome/browser/browser_process.h" | 14 #include "chrome/browser/browser_process.h" |
14 #include "chrome/common/chrome_paths.h" | 15 #include "chrome/common/chrome_paths.h" |
15 #include "chrome/common/l10n_util.h" | |
16 #include "chrome/common/ref_counted_util.h" | 16 #include "chrome/common/ref_counted_util.h" |
17 #include "chrome/common/url_constants.h" | 17 #include "chrome/common/url_constants.h" |
18 #include "googleurl/src/url_util.h" | 18 #include "googleurl/src/url_util.h" |
19 #include "net/url_request/url_request.h" | 19 #include "net/url_request/url_request.h" |
20 #include "net/url_request/url_request_file_job.h" | 20 #include "net/url_request/url_request_file_job.h" |
21 #include "net/url_request/url_request_job.h" | 21 #include "net/url_request/url_request_job.h" |
22 #ifdef CHROME_PERSONALIZATION | 22 #ifdef CHROME_PERSONALIZATION |
23 // TODO(timsteele): Remove all CHROME_PERSONALIZATION code in this file. | 23 // TODO(timsteele): Remove all CHROME_PERSONALIZATION code in this file. |
24 // It is only temporarily needed to configure some personalization data sources | 24 // It is only temporarily needed to configure some personalization data sources |
25 // that will go away soon. | 25 // that will go away soon. |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 net::ERR_INVALID_URL)); | 366 net::ERR_INVALID_URL)); |
367 } | 367 } |
368 } | 368 } |
369 | 369 |
370 URLRequestChromeFileJob::URLRequestChromeFileJob(URLRequest* request, | 370 URLRequestChromeFileJob::URLRequestChromeFileJob(URLRequest* request, |
371 const FilePath& path) | 371 const FilePath& path) |
372 : URLRequestFileJob(request, path) { | 372 : URLRequestFileJob(request, path) { |
373 } | 373 } |
374 | 374 |
375 URLRequestChromeFileJob::~URLRequestChromeFileJob() { } | 375 URLRequestChromeFileJob::~URLRequestChromeFileJob() { } |
OLD | NEW |