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

Unified Diff: chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h

Issue 10909138: Convert the async device ID getter to a chrome resource host (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h
diff --git a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h b/chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h
similarity index 51%
copy from content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
copy to chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h
index 2bc771fea723680455add70bf133796563e2b2ac..e051c1d323190b6c3f7c8fc13b350301b26e04ff 100644
--- a/content/browser/renderer_host/pepper/content_browser_pepper_host_factory.h
+++ b/chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.h
@@ -2,21 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
-#define CONTENT_BROWSER_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
+#ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_CHROME_BROWSER_PEPPER_HOST_FACTORY_H_
+#define CHROME_BROWSER_RENDERER_HOST_PEPPER_CHROME_BROWSER_PEPPER_HOST_FACTORY_H_
#include "base/compiler_specific.h"
#include "ppapi/host/host_factory.h"
namespace content {
+class BrowserPpapiHost;
+} // namespace content
-class BrowserPpapiHostImpl;
+namespace chrome {
-class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory {
+class ChromeBrowserPepperHostFactory : public ppapi::host::HostFactory {
public:
// Non-owning pointer to the filter must outlive this class.
- explicit ContentBrowserPepperHostFactory(BrowserPpapiHostImpl* host);
- virtual ~ContentBrowserPepperHostFactory();
+ explicit ChromeBrowserPepperHostFactory(content::BrowserPpapiHost* host);
+ virtual ~ChromeBrowserPepperHostFactory();
virtual scoped_ptr<ppapi::host::ResourceHost> CreateResourceHost(
ppapi::host::PpapiHost* host,
@@ -26,11 +28,11 @@ class ContentBrowserPepperHostFactory : public ppapi::host::HostFactory {
private:
// Non-owning pointer.
- BrowserPpapiHostImpl* host_;
+ content::BrowserPpapiHost* host_;
- DISALLOW_COPY_AND_ASSIGN(ContentBrowserPepperHostFactory);
+ DISALLOW_COPY_AND_ASSIGN(ChromeBrowserPepperHostFactory);
};
-} // namespace content
+} // namespace chrome
-#endif // CONTENT_BROWSER_PEPPER_CONTENT_BROWSER_PEPPER_HOST_FACTORY_H_
+#endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_CHROME_BROWSER_PEPPER_HOST_FACTORY_H_
« no previous file with comments | « chrome/browser/renderer_host/pepper/DEPS ('k') | chrome/browser/renderer_host/pepper/chrome_browser_pepper_host_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698