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

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

Issue 1088183003: Remove GTalk Pepper interfaces and related code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed a few references Created 5 years, 8 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_talk_host.h
diff --git a/chrome/browser/renderer_host/pepper/pepper_talk_host.h b/chrome/browser/renderer_host/pepper/pepper_talk_host.h
deleted file mode 100644
index 9a71788e0a27a3e6bf89cd05ed66139768da9c65..0000000000000000000000000000000000000000
--- a/chrome/browser/renderer_host/pepper/pepper_talk_host.h
+++ /dev/null
@@ -1,57 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_TALK_HOST_H_
-#define CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TALK_HOST_H_
-
-#include "base/memory/weak_ptr.h"
-#include "ppapi/c/private/ppb_talk_private.h"
-#include "ppapi/host/resource_host.h"
-#include "ppapi/proxy/resource_message_params.h"
-
-namespace content {
-class BrowserPpapiHost;
-}
-
-namespace ppapi {
-namespace host {
-struct ReplyMessageContext;
-}
-}
-
-namespace chrome {
-
-class PepperTalkHost : public ppapi::host::ResourceHost {
- public:
- PepperTalkHost(content::BrowserPpapiHost* host,
- PP_Instance instance,
- PP_Resource resource);
- ~PepperTalkHost() override;
-
- private:
- // ResourceHost override.
- int32_t OnResourceMessageReceived(
- const IPC::Message& msg,
- ppapi::host::HostMessageContext* context) override;
-
- int32_t OnRequestPermission(ppapi::host::HostMessageContext* context,
- PP_TalkPermission permission);
- int32_t OnStartRemoting(ppapi::host::HostMessageContext* context);
- int32_t OnStopRemoting(ppapi::host::HostMessageContext* context);
- void OnRemotingStopEvent();
-
- void OnRequestPermissionCompleted(ppapi::host::ReplyMessageContext reply);
- void OnStartRemotingCompleted(ppapi::host::ReplyMessageContext reply);
- void OnStopRemotingCompleted(ppapi::host::ReplyMessageContext reply);
-
- content::BrowserPpapiHost* browser_ppapi_host_;
- bool remoting_started_;
- base::WeakPtrFactory<PepperTalkHost> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(PepperTalkHost);
-};
-
-} // namespace chrome
-
-#endif // CHROME_BROWSER_RENDERER_HOST_PEPPER_PEPPER_TALK_HOST_H_

Powered by Google App Engine
This is Rietveld 408576698