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

Side by Side Diff: content/renderer/in_process_renderer_thread.h

Issue 633303002: Replace FINAL and OVERRIDE with their C++11 counterparts in content/renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/renderer/image_loading_helper.h ('k') | content/renderer/input/input_event_filter.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ 5 #ifndef CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_
6 #define CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ 6 #define CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/threading/thread.h" 10 #include "base/threading/thread.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 12
13 namespace content { 13 namespace content {
14 class RenderProcess; 14 class RenderProcess;
15 15
16 // This class creates the IO thread for the renderer when running in 16 // This class creates the IO thread for the renderer when running in
17 // single-process mode. It's not used in multi-process mode. 17 // single-process mode. It's not used in multi-process mode.
18 class InProcessRendererThread : public base::Thread { 18 class InProcessRendererThread : public base::Thread {
19 public: 19 public:
20 explicit InProcessRendererThread(const std::string& channel_id); 20 explicit InProcessRendererThread(const std::string& channel_id);
21 virtual ~InProcessRendererThread(); 21 virtual ~InProcessRendererThread();
22 22
23 protected: 23 protected:
24 virtual void Init() OVERRIDE; 24 virtual void Init() override;
25 virtual void CleanUp() OVERRIDE; 25 virtual void CleanUp() override;
26 26
27 private: 27 private:
28 std::string channel_id_; 28 std::string channel_id_;
29 scoped_ptr<RenderProcess> render_process_; 29 scoped_ptr<RenderProcess> render_process_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(InProcessRendererThread); 31 DISALLOW_COPY_AND_ASSIGN(InProcessRendererThread);
32 }; 32 };
33 33
34 CONTENT_EXPORT base::Thread* CreateInProcessRendererThread( 34 CONTENT_EXPORT base::Thread* CreateInProcessRendererThread(
35 const std::string& channel_id); 35 const std::string& channel_id);
36 36
37 } // namespace content 37 } // namespace content
38 38
39 #endif // CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_ 39 #endif // CONTENT_RENDERER_IN_PROCESS_RENDERER_THREAD_H_
OLDNEW
« no previous file with comments | « content/renderer/image_loading_helper.h ('k') | content/renderer/input/input_event_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698