summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser.cc
diff options
context:
space:
mode:
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-12 21:38:37 +0000
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-12 21:38:37 +0000
commit0586b0e71d0b79511d8acbab2e7dedd41c830867 (patch)
tree1668695e1613586ad51b98598b4f2010bf8c9f37 /chrome/browser/browser.cc
parent21f0460726afc4927c2df9b389a68074f21340d5 (diff)
downloadchromium_src-0586b0e71d0b79511d8acbab2e7dedd41c830867.zip
chromium_src-0586b0e71d0b79511d8acbab2e7dedd41c830867.tar.gz
chromium_src-0586b0e71d0b79511d8acbab2e7dedd41c830867.tar.bz2
Fix up some style guide violations wrt aligning function arguments.
Review URL: http://codereview.chromium.org/593084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38951 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser.cc')
-rw-r--r--chrome/browser/browser.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index aa12efc..4810c3c0 100644
--- a/chrome/browser/browser.cc
+++ b/chrome/browser/browser.cc
@@ -1776,8 +1776,8 @@ void Browser::CloseFrameAfterDragSession() {
// otherwise the frame will think the drag session is still active and ignore
// the request.
// TODO(port): figure out what is required here in a cross-platform world
- MessageLoop::current()->PostTask(FROM_HERE,
- method_factory_.NewRunnableMethod(&Browser::CloseFrame));
+ MessageLoop::current()->PostTask(
+ FROM_HERE, method_factory_.NewRunnableMethod(&Browser::CloseFrame));
#endif
}
@@ -1962,8 +1962,8 @@ void Browser::TabStripEmpty() {
// still present.
// NOTE: If you change to be immediate (no invokeLater) then you'll need to
// update BrowserList::CloseAllBrowsers.
- MessageLoop::current()->PostTask(FROM_HERE,
- method_factory_.NewRunnableMethod(&Browser::CloseFrame));
+ MessageLoop::current()->PostTask(
+ FROM_HERE, method_factory_.NewRunnableMethod(&Browser::CloseFrame));
}
///////////////////////////////////////////////////////////////////////////////
@@ -2371,7 +2371,8 @@ void Browser::Observe(NotificationType type,
if (is_attempting_to_close_browser_) {
// Need to do this asynchronously as it will close the tab, which is
// currently on the call stack above us.
- MessageLoop::current()->PostTask(FROM_HERE,
+ MessageLoop::current()->PostTask(
+ FROM_HERE,
method_factory_.NewRunnableMethod(&Browser::ClearUnloadState,
Source<TabContents>(source).ptr()));
}
@@ -2777,7 +2778,8 @@ void Browser::ScheduleUIUpdate(const TabContents* source,
if (chrome_updater_factory_.empty()) {
// No task currently scheduled, start another.
- MessageLoop::current()->PostDelayedTask(FROM_HERE,
+ MessageLoop::current()->PostDelayedTask(
+ FROM_HERE,
chrome_updater_factory_.NewRunnableMethod(
&Browser::ProcessPendingUIUpdates),
kUIUpdateCoalescingTimeMS);
@@ -3280,4 +3282,3 @@ void Browser::SetAppExtensionById(TabContents* contents,
contents->SetAppExtension(extension);
}
}
-