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

Side by Side Diff: content/browser/browser_main_loop.cc

Issue 9032010: base::Bind: Remove scoped_callback_factory.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 "content/browser/browser_main_loop.h" 5 #include "content/browser/browser_main_loop.h"
6 6
7 #include "base/bind.h"
7 #include "base/command_line.h" 8 #include "base/command_line.h"
8 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
9 #include "base/logging.h" 10 #include "base/logging.h"
10 #include "base/message_loop.h" 11 #include "base/message_loop.h"
11 #include "base/metrics/field_trial.h" 12 #include "base/metrics/field_trial.h"
12 #include "base/metrics/histogram.h" 13 #include "base/metrics/histogram.h"
13 #include "base/threading/thread_restrictions.h" 14 #include "base/threading/thread_restrictions.h"
14 #include "content/browser/browser_thread_impl.h" 15 #include "content/browser/browser_thread_impl.h"
15 #include "content/browser/in_process_webkit/webkit_thread.h" 16 #include "content/browser/in_process_webkit/webkit_thread.h"
16 #include "content/browser/trace_controller.h" 17 #include "content/browser/trace_controller.h"
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 MessageLoopForUI::current()->PostTask(FROM_HERE, parameters_.ui_task); 560 MessageLoopForUI::current()->PostTask(FROM_HERE, parameters_.ui_task);
560 561
561 #if defined(OS_MACOSX) 562 #if defined(OS_MACOSX)
562 MessageLoopForUI::current()->Run(); 563 MessageLoopForUI::current()->Run();
563 #else 564 #else
564 MessageLoopForUI::current()->RunWithDispatcher(NULL); 565 MessageLoopForUI::current()->RunWithDispatcher(NULL);
565 #endif 566 #endif
566 } 567 }
567 568
568 } // namespace content 569 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698