Index: chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h |
diff --git a/chrome/browser/renderer_host/pepper/pepper_flash_device_id_host.h b/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h |
similarity index 55% |
copy from chrome/browser/renderer_host/pepper/pepper_flash_device_id_host.h |
copy to chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h |
index cde310c6f3cc1827003cb3dfd844ee75d258b365..e461e90a469845ddf7bb85e763247bf7fa862e04 100644 |
--- a/chrome/browser/renderer_host/pepper/pepper_flash_device_id_host.h |
+++ b/chrome/browser/renderer_host/pepper/pepper_flash_drm_host.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DEVICE_ID_HOST_H_ |
-#define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DEVICE_ID_HOST_H_ |
+#ifndef CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_ |
+#define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_ |
#include <string> |
@@ -22,12 +22,12 @@ class Message; |
namespace chrome { |
-class PepperFlashDeviceIDHost : public ppapi::host::ResourceHost { |
+class PepperFlashDRMHost : public ppapi::host::ResourceHost { |
public: |
- PepperFlashDeviceIDHost(content::BrowserPpapiHost* host, |
- PP_Instance instance, |
- PP_Resource resource); |
- virtual ~PepperFlashDeviceIDHost(); |
+ PepperFlashDRMHost(content::BrowserPpapiHost* host, |
+ PP_Instance instance, |
+ PP_Resource resource); |
+ virtual ~PepperFlashDRMHost(); |
// ResourceHost override. |
virtual int32_t OnResourceMessageReceived( |
@@ -36,20 +36,20 @@ class PepperFlashDeviceIDHost : public ppapi::host::ResourceHost { |
private: |
// IPC message handler. |
- int32_t OnHostMsgGetDeviceID(const ppapi::host::HostMessageContext* context); |
+ int32_t OnHostMsgGetDeviceID(ppapi::host::HostMessageContext* context); |
// Called by the fetcher when the device ID was retrieved, or the empty string |
// on error. |
void GotDeviceID(ppapi::host::ReplyMessageContext reply_context, |
- const std::string& contents); |
+ const std::string& id); |
scoped_refptr<DeviceIDFetcher> fetcher_; |
- base::WeakPtrFactory<PepperFlashDeviceIDHost> weak_factory_; |
+ base::WeakPtrFactory<PepperFlashDRMHost> weak_factory_; |
- DISALLOW_COPY_AND_ASSIGN(PepperFlashDeviceIDHost); |
+ DISALLOW_COPY_AND_ASSIGN(PepperFlashDRMHost); |
}; |
} // namespace chrome |
-#endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DEVICE_ID_HOST_H_ |
+#endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_FLASH_DRM_HOST_H_ |