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

Unified Diff: chrome/browser/ui/browser.cc

Issue 10810027: IWYU and other random cleanup in chrome/browser/ui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months 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 side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698