| OLD | NEW |
| 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_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "base/process.h" | 9 #include "base/process.h" |
| 10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
| 11 #include "content/public/browser/browser_thread.h" | |
| 12 #include "content/public/browser/render_view_host.h" | 11 #include "content/public/browser/render_view_host.h" |
| 13 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 14 #include "ppapi/c/pp_instance.h" | 13 #include "ppapi/c/pp_instance.h" |
| 15 | 14 |
| 16 namespace IPC { | 15 namespace IPC { |
| 17 class ChannelProxy; | 16 class ChannelProxy; |
| 18 struct ChannelHandle; | 17 struct ChannelHandle; |
| 19 class Sender; | 18 class Sender; |
| 20 } | 19 } |
| 21 | 20 |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 virtual const FilePath& GetProfileDataDirectory() = 0; | 80 virtual const FilePath& GetProfileDataDirectory() = 0; |
| 82 | 81 |
| 83 // Get the Document/Plugin URLs for the given PP_Instance. | 82 // Get the Document/Plugin URLs for the given PP_Instance. |
| 84 virtual GURL GetDocumentURLForInstance(PP_Instance instance) = 0; | 83 virtual GURL GetDocumentURLForInstance(PP_Instance instance) = 0; |
| 85 virtual GURL GetPluginURLForInstance(PP_Instance instance) = 0; | 84 virtual GURL GetPluginURLForInstance(PP_Instance instance) = 0; |
| 86 }; | 85 }; |
| 87 | 86 |
| 88 } // namespace content | 87 } // namespace content |
| 89 | 88 |
| 90 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ | 89 #endif // CONTENT_PUBLIC_BROWSER_BROWSER_PPAPI_HOST_H_ |
| OLD | NEW |