| 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/options2/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" |
| 11 #include "base/bind_helpers.h" | 11 #include "base/bind_helpers.h" |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/string16.h" | 13 #include "base/string16.h" |
| 14 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 web_ui()->CallJavascriptFunction("ImportDataOverlay.confirmSuccess"); | 183 web_ui()->CallJavascriptFunction("ImportDataOverlay.confirmSuccess"); |
| 184 } else { | 184 } else { |
| 185 base::FundamentalValue state(false); | 185 base::FundamentalValue state(false); |
| 186 web_ui()->CallJavascriptFunction("ImportDataOverlay.setImportingState", | 186 web_ui()->CallJavascriptFunction("ImportDataOverlay.setImportingState", |
| 187 state); | 187 state); |
| 188 web_ui()->CallJavascriptFunction("ImportDataOverlay.dismiss"); | 188 web_ui()->CallJavascriptFunction("ImportDataOverlay.dismiss"); |
| 189 } | 189 } |
| 190 } | 190 } |
| 191 | 191 |
| 192 } // namespace options | 192 } // namespace options |
| OLD | NEW |