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

Side by Side Diff: base/run_loop.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/rand_util.h ('k') | base/safe_strerror_posix.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef BASE_RUN_LOOP_H_ 5 #ifndef BASE_RUN_LOOP_H_
6 #define BASE_RUN_LOOP_H_ 6 #define BASE_RUN_LOOP_H_
7 #pragma once
8 7
9 #include "base/base_export.h" 8 #include "base/base_export.h"
10 #include "base/callback.h" 9 #include "base/callback.h"
11 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
12 #include "base/message_loop.h" 11 #include "base/message_loop.h"
13 12
14 namespace base { 13 namespace base {
15 #if defined(OS_ANDROID) 14 #if defined(OS_ANDROID)
16 class MessagePumpForUI; 15 class MessagePumpForUI;
17 #endif 16 #endif
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Used to record that QuitWhenIdle() was called on the MessageLoop, meaning 102 // Used to record that QuitWhenIdle() was called on the MessageLoop, meaning
104 // that we should quit Run once it becomes idle. 103 // that we should quit Run once it becomes idle.
105 bool quit_when_idle_received_; 104 bool quit_when_idle_received_;
106 105
107 DISALLOW_COPY_AND_ASSIGN(RunLoop); 106 DISALLOW_COPY_AND_ASSIGN(RunLoop);
108 }; 107 };
109 108
110 } // namespace base 109 } // namespace base
111 110
112 #endif // BASE_RUN_LOOP_H_ 111 #endif // BASE_RUN_LOOP_H_
OLDNEW
« no previous file with comments | « base/rand_util.h ('k') | base/safe_strerror_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698