| 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 #include "chrome/browser/dom_ui/options/import_data_handler.h" | 5 #include "chrome/browser/dom_ui/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/callback.h" | 10 #include "base/callback.h" |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 browser_profile->SetBoolean("search", | 160 browser_profile->SetBoolean("search", |
| 161 (browser_services & importer::SEARCH_ENGINES) != 0); | 161 (browser_services & importer::SEARCH_ENGINES) != 0); |
| 162 | 162 |
| 163 browser_profiles.Append(browser_profile); | 163 browser_profiles.Append(browser_profile); |
| 164 } | 164 } |
| 165 | 165 |
| 166 web_ui_->CallJavascriptFunction( | 166 web_ui_->CallJavascriptFunction( |
| 167 L"options.ImportDataOverlay.updateSupportedBrowsers", | 167 L"options.ImportDataOverlay.updateSupportedBrowsers", |
| 168 browser_profiles); | 168 browser_profiles); |
| 169 } | 169 } |
| OLD | NEW |