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

Side by Side Diff: content/browser/browser_process_sub_thread.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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/browser/browser_main_runner.cc ('k') | content/browser/browser_thread_impl.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 CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
6 #define CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ 6 #define CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/browser/browser_thread_impl.h" 9 #include "content/browser/browser_thread_impl.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 20 matching lines...) Expand all
31 // 31 //
32 // Applications must initialize the COM library before they can call 32 // Applications must initialize the COM library before they can call
33 // COM library functions other than CoGetMalloc and memory allocation 33 // COM library functions other than CoGetMalloc and memory allocation
34 // functions, so this class initializes COM for those users. 34 // functions, so this class initializes COM for those users.
35 class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThreadImpl { 35 class CONTENT_EXPORT BrowserProcessSubThread : public BrowserThreadImpl {
36 public: 36 public:
37 explicit BrowserProcessSubThread(BrowserThread::ID identifier); 37 explicit BrowserProcessSubThread(BrowserThread::ID identifier);
38 virtual ~BrowserProcessSubThread(); 38 virtual ~BrowserProcessSubThread();
39 39
40 protected: 40 protected:
41 virtual void Init() OVERRIDE; 41 virtual void Init() override;
42 virtual void CleanUp() OVERRIDE; 42 virtual void CleanUp() override;
43 43
44 private: 44 private:
45 // These methods encapsulate cleanup that needs to happen on the IO thread 45 // These methods encapsulate cleanup that needs to happen on the IO thread
46 // before we call the embedder's CleanUp function. 46 // before we call the embedder's CleanUp function.
47 void IOThreadPreCleanUp(); 47 void IOThreadPreCleanUp();
48 48
49 #if defined (OS_WIN) 49 #if defined (OS_WIN)
50 scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_; 50 scoped_ptr<base::win::ScopedCOMInitializer> com_initializer_;
51 #endif 51 #endif
52 52
53 // Each specialized thread has its own notification service. 53 // Each specialized thread has its own notification service.
54 scoped_ptr<NotificationService> notification_service_; 54 scoped_ptr<NotificationService> notification_service_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread); 56 DISALLOW_COPY_AND_ASSIGN(BrowserProcessSubThread);
57 }; 57 };
58 58
59 } // namespace content 59 } // namespace content
60 60
61 #endif // CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_ 61 #endif // CONTENT_BROWSER_BROWSER_PROCESS_SUB_THREAD_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main_runner.cc ('k') | content/browser/browser_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698