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

Side by Side Diff: base/threading/thread.h

Issue 614103004: replace 'virtual ... OVERRIDE' with '... override' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: process base/ Created 6 years, 2 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
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_THREADING_THREAD_H_ 5 #ifndef BASE_THREADING_THREAD_H_
6 #define BASE_THREADING_THREAD_H_ 6 #define BASE_THREADING_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 private: 194 private:
195 #if defined(OS_WIN) 195 #if defined(OS_WIN)
196 enum ComStatus { 196 enum ComStatus {
197 NONE, 197 NONE,
198 STA, 198 STA,
199 MTA, 199 MTA,
200 }; 200 };
201 #endif 201 #endif
202 202
203 // PlatformThread::Delegate methods: 203 // PlatformThread::Delegate methods:
204 virtual void ThreadMain() OVERRIDE; 204 void ThreadMain() override;
205 205
206 #if defined(OS_WIN) 206 #if defined(OS_WIN)
207 // Whether this thread needs to initialize COM, and if so, in what mode. 207 // Whether this thread needs to initialize COM, and if so, in what mode.
208 ComStatus com_status_; 208 ComStatus com_status_;
209 #endif 209 #endif
210 210
211 // Whether we successfully started the thread. 211 // Whether we successfully started the thread.
212 bool started_; 212 bool started_;
213 213
214 // If true, we're in the middle of stopping, and shouldn't access 214 // If true, we're in the middle of stopping, and shouldn't access
(...skipping 21 matching lines...) Expand all
236 std::string name_; 236 std::string name_;
237 237
238 friend void ThreadQuitHelper(); 238 friend void ThreadQuitHelper();
239 239
240 DISALLOW_COPY_AND_ASSIGN(Thread); 240 DISALLOW_COPY_AND_ASSIGN(Thread);
241 }; 241 };
242 242
243 } // namespace base 243 } // namespace base
244 244
245 #endif // BASE_THREADING_THREAD_H_ 245 #endif // BASE_THREADING_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698