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

Side by Side Diff: content/browser/plugin_loader_posix.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
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_PLUGIN_LOADER_POSIX_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_
6 #define CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_ 6 #define CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 : public NON_EXPORTED_BASE(UtilityProcessHostClient), 48 : public NON_EXPORTED_BASE(UtilityProcessHostClient),
49 public IPC::Sender { 49 public IPC::Sender {
50 public: 50 public:
51 PluginLoaderPosix(); 51 PluginLoaderPosix();
52 52
53 // Must be called from the IO thread. The |callback| will be called on the IO 53 // Must be called from the IO thread. The |callback| will be called on the IO
54 // thread too. 54 // thread too.
55 void GetPlugins(const PluginService::GetPluginsCallback& callback); 55 void GetPlugins(const PluginService::GetPluginsCallback& callback);
56 56
57 // UtilityProcessHostClient: 57 // UtilityProcessHostClient:
58 virtual void OnProcessCrashed(int exit_code) OVERRIDE; 58 virtual void OnProcessCrashed(int exit_code) override;
59 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 59 virtual bool OnMessageReceived(const IPC::Message& message) override;
60 60
61 // IPC::Sender: 61 // IPC::Sender:
62 virtual bool Send(IPC::Message* msg) OVERRIDE; 62 virtual bool Send(IPC::Message* msg) override;
63 63
64 private: 64 private:
65 virtual ~PluginLoaderPosix(); 65 virtual ~PluginLoaderPosix();
66 66
67 // Called on the FILE thread to get the list of plugin paths to probe. 67 // Called on the FILE thread to get the list of plugin paths to probe.
68 void GetPluginsToLoad(); 68 void GetPluginsToLoad();
69 69
70 // Must be called on the IO thread. 70 // Must be called on the IO thread.
71 virtual void LoadPluginsInternal(); 71 virtual void LoadPluginsInternal();
72 72
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 // The time at which plugin loading started. 113 // The time at which plugin loading started.
114 base::TimeTicks load_start_time_; 114 base::TimeTicks load_start_time_;
115 115
116 friend class MockPluginLoaderPosix; 116 friend class MockPluginLoaderPosix;
117 DISALLOW_COPY_AND_ASSIGN(PluginLoaderPosix); 117 DISALLOW_COPY_AND_ASSIGN(PluginLoaderPosix);
118 }; 118 };
119 119
120 } // namespace content 120 } // namespace content
121 121
122 #endif // CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_ 122 #endif // CONTENT_BROWSER_PLUGIN_LOADER_POSIX_H_
OLDNEW
« no previous file with comments | « content/browser/plugin_data_remover_impl_browsertest.cc ('k') | content/browser/plugin_loader_posix_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698