| Index: content/public/browser/resource_context.h
|
| diff --git a/content/public/browser/resource_context.h b/content/public/browser/resource_context.h
|
| index 602f935372b3ec7af81dcd338c0b749f1f224258..44b829b8b61efb2d1eaf39060e4cc6ed5043e6a1 100644
|
| --- a/content/public/browser/resource_context.h
|
| +++ b/content/public/browser/resource_context.h
|
| @@ -5,14 +5,7 @@
|
| #ifndef CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
|
| #define CONTENT_PUBLIC_BROWSER_RESOURCE_CONTEXT_H_
|
|
|
| -#include <stdint.h>
|
| -
|
| -#include <memory>
|
| -#include <string>
|
| -
|
| -#include "base/callback.h"
|
| #include "base/supports_user_data.h"
|
| -#include "build/build_config.h"
|
| #include "content/common/content_export.h"
|
|
|
| namespace net {
|
| @@ -25,6 +18,7 @@ namespace content {
|
| // ResourceContext contains the relevant context information required for
|
| // resource loading. It lives on the IO thread, although it is constructed on
|
| // the UI thread. It must be destructed on the IO thread.
|
| +// TODO(mmenke): Get rid of this class.
|
| class CONTENT_EXPORT ResourceContext : public base::SupportsUserData {
|
| public:
|
| ResourceContext();
|
| @@ -35,18 +29,6 @@ class CONTENT_EXPORT ResourceContext : public base::SupportsUserData {
|
| // storage partitioning. This getter returns the default context associated
|
| // with a BrowsingContext.
|
| virtual net::URLRequestContext* GetRequestContext() = 0;
|
| -
|
| - // Returns a random salt string that is used for creating media device IDs.
|
| - // Returns a random string by default.
|
| - virtual std::string GetMediaDeviceIDSalt();
|
| -
|
| - // Utility function useful for embedders. Only needs to be called if
|
| - // 1) The embedder needs to use a new salt, and
|
| - // 2) The embedder saves its salt across restarts.
|
| - static std::string CreateRandomMediaDeviceIDSalt();
|
| -
|
| - private:
|
| - const std::string media_device_id_salt_;
|
| };
|
|
|
| } // namespace content
|
|
|