OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PLUGIN_CHROME_CONTENT_PLUGIN_CLIENT_H_ | 5 #ifndef CHROME_PLUGIN_CHROME_CONTENT_PLUGIN_CLIENT_H_ |
6 #define CHROME_PLUGIN_CHROME_CONTENT_PLUGIN_CLIENT_H_ | 6 #define CHROME_PLUGIN_CHROME_CONTENT_PLUGIN_CLIENT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "content/public/plugin/content_plugin_client.h" | 9 #include "content/public/plugin/content_plugin_client.h" |
10 | 10 |
11 namespace chrome { | 11 namespace chrome { |
12 | 12 |
13 class ChromeContentPluginClient : public content::ContentPluginClient { | 13 class ChromeContentPluginClient : public content::ContentPluginClient { |
14 public: | 14 public: |
15 virtual void PreSandboxInitialization() OVERRIDE; | 15 virtual void PreSandboxInitialization() OVERRIDE; |
16 virtual void PluginProcessStarted(const string16& plugin_name) OVERRIDE; | 16 virtual void PluginProcessStarted(const string16& plugin_name) OVERRIDE; |
| 17 virtual void PluginLoaded(const base::FilePath& plugin_path, |
| 18 bool is_broker, |
| 19 PluginLoadResult result) OVERRIDE; |
17 }; | 20 }; |
18 | 21 |
19 } // namespace chrome | 22 } // namespace chrome |
20 | 23 |
21 #endif // CHROME_PLUGIN_CHROME_CONTENT_PLUGIN_CLIENT_H_ | 24 #endif // CHROME_PLUGIN_CHROME_CONTENT_PLUGIN_CLIENT_H_ |
OLD | NEW |