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/extensions/extension_install_ui.h" | 5 #include "chrome/browser/extensions/extension_install_ui.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
| 11 #include "base/message_loop.h" |
11 #include "base/string_number_conversions.h" | 12 #include "base/string_number_conversions.h" |
12 #include "base/string_util.h" | 13 #include "base/string_util.h" |
13 #include "base/stringprintf.h" | 14 #include "base/stringprintf.h" |
14 #include "base/utf_string_conversions.h" | 15 #include "base/utf_string_conversions.h" |
15 #include "chrome/browser/extensions/extension_install_dialog.h" | 16 #include "chrome/browser/extensions/extension_install_dialog.h" |
16 #include "chrome/browser/extensions/theme_installed_infobar_delegate.h" | 17 #include "chrome/browser/extensions/theme_installed_infobar_delegate.h" |
17 #include "chrome/browser/infobars/infobar_tab_helper.h" | 18 #include "chrome/browser/infobars/infobar_tab_helper.h" |
18 #include "chrome/browser/profiles/profile.h" | 19 #include "chrome/browser/profiles/profile.h" |
19 #include "chrome/browser/simple_message_box.h" | 20 #include "chrome/browser/simple_message_box.h" |
20 #include "chrome/browser/tabs/tab_strip_model.h" | 21 #include "chrome/browser/tabs/tab_strip_model.h" |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 bool previous_using_native_theme) { | 426 bool previous_using_native_theme) { |
426 Profile* profile = tab_contents->profile(); | 427 Profile* profile = tab_contents->profile(); |
427 return new ThemeInstalledInfoBarDelegate( | 428 return new ThemeInstalledInfoBarDelegate( |
428 tab_contents->infobar_tab_helper(), | 429 tab_contents->infobar_tab_helper(), |
429 profile->GetExtensionService(), | 430 profile->GetExtensionService(), |
430 ThemeServiceFactory::GetForProfile(profile), | 431 ThemeServiceFactory::GetForProfile(profile), |
431 new_theme, | 432 new_theme, |
432 previous_theme_id, | 433 previous_theme_id, |
433 previous_using_native_theme); | 434 previous_using_native_theme); |
434 } | 435 } |
OLD | NEW |