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

Side by Side Diff: chrome/browser/apps/app_shim/app_shim_host_manager_mac.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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 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 CHROME_BROWSER_APPS_APP_SHIM_APP_SHIM_HOST_MANAGER_MAC_H_ 5 #ifndef CHROME_BROWSER_APPS_APP_SHIM_APP_SHIM_HOST_MANAGER_MAC_H_
6 #define CHROME_BROWSER_APPS_APP_SHIM_APP_SHIM_HOST_MANAGER_MAC_H_ 6 #define CHROME_BROWSER_APPS_APP_SHIM_APP_SHIM_HOST_MANAGER_MAC_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h" 9 #include "chrome/browser/apps/app_shim/extension_app_shim_handler_mac.h"
10 #include "chrome/browser/apps/app_shim/unix_domain_socket_acceptor.h" 10 #include "chrome/browser/apps/app_shim/unix_domain_socket_acceptor.h"
(...skipping 27 matching lines...) Expand all
38 38
39 private: 39 private:
40 friend class base::RefCountedThreadSafe<AppShimHostManager>; 40 friend class base::RefCountedThreadSafe<AppShimHostManager>;
41 friend struct content::BrowserThread::DeleteOnThread< 41 friend struct content::BrowserThread::DeleteOnThread<
42 content::BrowserThread::UI>; 42 content::BrowserThread::UI>;
43 friend class base::DeleteHelper<AppShimHostManager>; 43 friend class base::DeleteHelper<AppShimHostManager>;
44 friend class test::AppShimHostManagerTestApi; 44 friend class test::AppShimHostManagerTestApi;
45 virtual ~AppShimHostManager(); 45 virtual ~AppShimHostManager();
46 46
47 // UnixDomainSocketAcceptor::Delegate implementation. 47 // UnixDomainSocketAcceptor::Delegate implementation.
48 virtual void OnClientConnected(const IPC::ChannelHandle& handle) OVERRIDE; 48 virtual void OnClientConnected(const IPC::ChannelHandle& handle) override;
49 virtual void OnListenError() OVERRIDE; 49 virtual void OnListenError() override;
50 50
51 // The |acceptor_| must be created on a thread which allows blocking I/O, so 51 // The |acceptor_| must be created on a thread which allows blocking I/O, so
52 // part of the initialization of this class must be carried out on the file 52 // part of the initialization of this class must be carried out on the file
53 // thread. 53 // thread.
54 void InitOnFileThread(); 54 void InitOnFileThread();
55 55
56 // Called on the IO thread to begin listening for connections from app shims. 56 // Called on the IO thread to begin listening for connections from app shims.
57 void ListenOnIOThread(); 57 void ListenOnIOThread();
58 58
59 // The AppShimHostManager is only initialized if the Chrome process 59 // The AppShimHostManager is only initialized if the Chrome process
60 // successfully took the singleton lock. This prevents subsequent processes 60 // successfully took the singleton lock. This prevents subsequent processes
61 // from deleting existing app shim socket files. 61 // from deleting existing app shim socket files.
62 bool did_init_; 62 bool did_init_;
63 63
64 base::FilePath directory_in_tmp_; 64 base::FilePath directory_in_tmp_;
65 65
66 scoped_ptr<apps::UnixDomainSocketAcceptor> acceptor_; 66 scoped_ptr<apps::UnixDomainSocketAcceptor> acceptor_;
67 67
68 apps::ExtensionAppShimHandler extension_app_shim_handler_; 68 apps::ExtensionAppShimHandler extension_app_shim_handler_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(AppShimHostManager); 70 DISALLOW_COPY_AND_ASSIGN(AppShimHostManager);
71 }; 71 };
72 72
73 #endif // CHROME_BROWSER_APPS_APP_SHIM_APP_SHIM_HOST_MANAGER_MAC_H_ 73 #endif // CHROME_BROWSER_APPS_APP_SHIM_APP_SHIM_HOST_MANAGER_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698