Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(691)

Side by Side Diff: chrome/browser/extensions/extension_install_ui.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With this patchset, Chrome runs and exits normally on Linux. Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698