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

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

Issue 15491006: Rename PPB_Flash_DeviceID interface to PPB_Flash_DRM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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/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_

Powered by Google App Engine
This is Rietveld 408576698