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

Side by Side Diff: base/message_pump_win.cc

Issue 3071012: Cleanup: Remove unneeded headers from base/ (part 1) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/file_path.cc ('k') | base/process_util_posix.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/message_pump_win.h" 5 #include "base/message_pump_win.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include "base/histogram.h" 9 #include "base/histogram.h"
10 #include "base/win_util.h"
11 10
12 using base::Time; 11 using base::Time;
13 12
14 namespace base { 13 namespace base {
15 14
16 static const wchar_t kWndClass[] = L"Chrome_MessagePumpWindow"; 15 static const wchar_t kWndClass[] = L"Chrome_MessagePumpWindow";
17 16
18 // Message sent to get an additional time slice for pumping (processing) another 17 // Message sent to get an additional time slice for pumping (processing) another
19 // task (a series of such messages creates a continuous task pump). 18 // task (a series of such messages creates a continuous task pump).
20 static const int kMsgHaveWork = WM_USER + 1; 19 static const int kMsgHaveWork = WM_USER + 1;
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 562
564 void MessagePumpForIO::WillProcessIOEvent() { 563 void MessagePumpForIO::WillProcessIOEvent() {
565 FOR_EACH_OBSERVER(IOObserver, io_observers_, WillProcessIOEvent()); 564 FOR_EACH_OBSERVER(IOObserver, io_observers_, WillProcessIOEvent());
566 } 565 }
567 566
568 void MessagePumpForIO::DidProcessIOEvent() { 567 void MessagePumpForIO::DidProcessIOEvent() {
569 FOR_EACH_OBSERVER(IOObserver, io_observers_, DidProcessIOEvent()); 568 FOR_EACH_OBSERVER(IOObserver, io_observers_, DidProcessIOEvent());
570 } 569 }
571 570
572 } // namespace base 571 } // namespace base
OLDNEW
« no previous file with comments | « base/file_path.cc ('k') | base/process_util_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698