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

Unified Diff: chrome/browser/browser.cc

Issue 593084: Fix up some style guide violations wrt aligning function arguments. (Closed)
Patch Set: Created 10 years, 10 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
« no previous file with comments | « base/weak_ptr_unittest.cc ('k') | chrome/browser/chromeos/notifications/balloon_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser.cc
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc
index aa12efcb8274e640ad0d468428b3f4715e289ef2..4810c3c0ebfaebb144c6c1a323b412e16e8a71cf 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);
}
}
-
« no previous file with comments | « base/weak_ptr_unittest.cc ('k') | chrome/browser/chromeos/notifications/balloon_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698