| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_GUESTVIEW_WEBVIEW_PLUGIN_PERMISSION_HELPER_H_ | 5 #ifndef CHROME_BROWSER_GUESTVIEW_WEBVIEW_PLUGIN_PERMISSION_HELPER_H_ |
| 6 #define CHROME_BROWSER_GUESTVIEW_WEBVIEW_PLUGIN_PERMISSION_HELPER_H_ | 6 #define CHROME_BROWSER_GUESTVIEW_WEBVIEW_PLUGIN_PERMISSION_HELPER_H_ |
| 7 | 7 |
| 8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
| 9 #include "content/public/browser/web_contents_observer.h" | 9 #include "content/public/browser/web_contents_observer.h" |
| 10 #include "content/public/browser/web_contents_user_data.h" | 10 #include "content/public/browser/web_contents_user_data.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 void OnPermissionResponse(const std::string& identifier, | 39 void OnPermissionResponse(const std::string& identifier, |
| 40 bool allow, | 40 bool allow, |
| 41 const std::string& user_input); | 41 const std::string& user_input); |
| 42 | 42 |
| 43 base::WeakPtrFactory<PluginPermissionHelper> weak_factory_; | 43 base::WeakPtrFactory<PluginPermissionHelper> weak_factory_; |
| 44 | 44 |
| 45 DISALLOW_COPY_AND_ASSIGN(PluginPermissionHelper); | 45 DISALLOW_COPY_AND_ASSIGN(PluginPermissionHelper); |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 #endif // CHROME_BROWSER_GUESTVIEW_WEBVIEW_PLUGIN_PERMISSION_HELPER_H_ | 48 #endif // CHROME_BROWSER_GUESTVIEW_WEBVIEW_PLUGIN_PERMISSION_HELPER_H_ |
| OLD | NEW |