OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/webui/options/import_data_handler.h" | 5 #include "chrome/browser/ui/webui/options/import_data_handler.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "chrome/browser/importer/importer_list.h" | 21 #include "chrome/browser/importer/importer_list.h" |
22 #include "chrome/browser/importer/importer_uma.h" | 22 #include "chrome/browser/importer/importer_uma.h" |
23 #include "chrome/browser/profiles/profile.h" | 23 #include "chrome/browser/profiles/profile.h" |
24 #include "chrome/browser/ui/browser_finder.h" | 24 #include "chrome/browser/ui/browser_finder.h" |
25 #include "chrome/browser/ui/browser_window.h" | 25 #include "chrome/browser/ui/browser_window.h" |
26 #include "chrome/browser/ui/chrome_select_file_policy.h" | 26 #include "chrome/browser/ui/chrome_select_file_policy.h" |
27 #include "content/public/browser/browser_thread.h" | 27 #include "content/public/browser/browser_thread.h" |
28 #include "content/public/browser/web_ui.h" | 28 #include "content/public/browser/web_ui.h" |
29 #include "grit/chromium_strings.h" | 29 #include "grit/chromium_strings.h" |
30 #include "grit/generated_resources.h" | 30 #include "grit/generated_resources.h" |
31 #include "ui/base/l10n/l10n_util.h" | |
32 | 31 |
33 using content::BrowserThread; | 32 using content::BrowserThread; |
34 | 33 |
35 namespace options { | 34 namespace options { |
36 | 35 |
37 ImportDataHandler::ImportDataHandler() | 36 ImportDataHandler::ImportDataHandler() |
38 : importer_host_(NULL), | 37 : importer_host_(NULL), |
39 import_did_succeed_(false) { | 38 import_did_succeed_(false) { |
40 DCHECK_CURRENTLY_ON(BrowserThread::UI); | 39 DCHECK_CURRENTLY_ON(BrowserThread::UI); |
41 } | 40 } |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 base::string16(), | 264 base::string16(), |
266 base::FilePath(), | 265 base::FilePath(), |
267 &file_type_info, | 266 &file_type_info, |
268 0, | 267 0, |
269 base::FilePath::StringType(), | 268 base::FilePath::StringType(), |
270 browser->window()->GetNativeWindow(), | 269 browser->window()->GetNativeWindow(), |
271 NULL); | 270 NULL); |
272 } | 271 } |
273 | 272 |
274 } // namespace options | 273 } // namespace options |
OLD | NEW |