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

Unified Diff: content/child/npapi/webplugin_resource_client.h

Issue 1851093005: Remove content/child/npapi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_combined_01_02
Patch Set: rebase Created 4 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
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_win.cc ('k') | content/child/plugin_message_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/npapi/webplugin_resource_client.h
diff --git a/content/child/npapi/webplugin_resource_client.h b/content/child/npapi/webplugin_resource_client.h
deleted file mode 100644
index ee2e456b6184395c3a913570a642e63f4e283f4c..0000000000000000000000000000000000000000
--- a/content/child/npapi/webplugin_resource_client.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2013 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 CONTENT_CHILD_NPAPI_WEBPLUGIN_RESOURCE_CLIENT_H_
-#define CONTENT_CHILD_NPAPI_WEBPLUGIN_RESOURCE_CLIENT_H_
-
-#include <stdint.h>
-
-#include <string>
-
-
-class GURL;
-
-namespace content {
-
-// Simpler version of ResourceHandleClient that lends itself to proxying.
-class WebPluginResourceClient {
- public:
- virtual ~WebPluginResourceClient() {}
-
- virtual void WillSendRequest(const GURL& url, int http_status_code) = 0;
- // The request_is_seekable parameter indicates whether byte range requests
- // can be issued for the underlying stream.
- virtual void DidReceiveResponse(const std::string& mime_type,
- const std::string& headers,
- uint32_t expected_length,
- uint32_t last_modified,
- bool request_is_seekable) = 0;
- virtual void DidReceiveData(const char* buffer, int length,
- int data_offset) = 0;
- // The resource ids passed here ensures that data for range requests
- // is cleared. This applies for seekable streams.
- virtual void DidFinishLoading(unsigned long resource_id) = 0;
- virtual void DidFail(unsigned long resource_id) = 0;
- virtual int ResourceId() = 0;
- // Tells this object that it will get responses from multiple resources.
- // This is necessary since the plugin process uses a single instance of
- // PluginStreamUrl object for multiple range requests.
- virtual void AddRangeRequestResourceId(unsigned long resource_id) { }
-};
-
-} // namespace content
-
-#endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_RESOURCE_CLIENT_H_
« no previous file with comments | « content/child/npapi/webplugin_delegate_impl_win.cc ('k') | content/child/plugin_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698