Index: chrome/browser/ui/browser.cc |
=================================================================== |
--- chrome/browser/ui/browser.cc (revision 147551) |
+++ chrome/browser/ui/browser.cc (working copy) |
@@ -59,6 +59,7 @@ |
#include "chrome/browser/first_run/first_run.h" |
#include "chrome/browser/google/google_url_tracker.h" |
#include "chrome/browser/infobars/infobar_tab_helper.h" |
+#include "chrome/browser/intents/device_attached_intent_source.h" |
#include "chrome/browser/intents/register_intent_handler_infobar_delegate.h" |
#include "chrome/browser/intents/web_intents_util.h" |
#include "chrome/browser/lifetime/application_lifetime.h" |
@@ -326,7 +327,6 @@ |
synced_window_delegate_( |
new BrowserSyncedWindowDelegate(this))), |
bookmark_bar_state_(BookmarkBar::HIDDEN), |
- device_attached_intent_source_(this, this), |
ALLOW_THIS_IN_INITIALIZER_LIST( |
command_controller_(new chrome::BrowserCommandController(this))), |
window_has_shown_(false) { |
@@ -369,6 +369,8 @@ |
profile_->GetPrefs(), NULL); |
instant_controller_.reset(new chrome::BrowserInstantController(this)); |
+ device_attached_intent_source_.reset( |
+ new DeviceAttachedIntentSource(this, (this))); |
UpdateBookmarkBarState(BOOKMARK_BAR_STATE_CHANGE_INIT); |