| Index: ios/web/web_state/web_state_impl.h
|
| diff --git a/ios/web/web_state/web_state_impl.h b/ios/web/web_state/web_state_impl.h
|
| index 012b4b8e6063faf44c6f0e465eba41e40872d336..0e1ab4b58af1b7de1ad91a83054148e20100b407 100644
|
| --- a/ios/web/web_state/web_state_impl.h
|
| +++ b/ios/web/web_state/web_state_impl.h
|
| @@ -19,7 +19,6 @@
|
| #include "base/values.h"
|
| #import "ios/web/navigation/navigation_manager_delegate.h"
|
| #import "ios/web/navigation/navigation_manager_impl.h"
|
| -#import "ios/web/net/request_tracker_impl.h"
|
| #import "ios/web/public/java_script_dialog_callback.h"
|
| #include "ios/web/public/java_script_dialog_type.h"
|
| #import "ios/web/public/web_state/web_state.h"
|
| @@ -195,27 +194,6 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
|
| // allowed to continue by asking its policy deciders. Defaults to true.
|
| bool ShouldAllowResponse(NSURLResponse* response);
|
|
|
| - // Request tracker management. For now, this exposes the RequestTracker for
|
| - // embedders to use.
|
| - // TODO(stuartmorgan): RequestTracker should become an internal detail of this
|
| - // class.
|
| -
|
| - // Create a new tracker using |delegate| as its delegate.
|
| - void InitializeRequestTracker(id<CRWRequestTrackerDelegate> delegate);
|
| -
|
| - // Close the request tracker and delete it.
|
| - void CloseRequestTracker();
|
| -
|
| - // Returns the tracker for this WebStateImpl.
|
| - RequestTrackerImpl* GetRequestTracker();
|
| -
|
| - // Lazily creates (if necessary) and returns |request_group_id_|.
|
| - // IMPORTANT: This should not be used for anything other than associating this
|
| - // instance to network requests.
|
| - // This function is only intended to be used in web/.
|
| - // TODO(stuartmorgan): Move this method in an implementation file in web/.
|
| - NSString* GetRequestGroupID();
|
| -
|
| // WebState:
|
| WebStateDelegate* GetDelegate() override;
|
| void SetDelegate(WebStateDelegate* delegate) override;
|
| @@ -360,14 +338,6 @@ class WebStateImpl : public WebState, public NavigationManagerDelegate {
|
| // Returned by reference.
|
| base::string16 empty_string16_;
|
|
|
| - // Request tracker associted with this object.
|
| - scoped_refptr<RequestTrackerImpl> request_tracker_;
|
| -
|
| - // A number identifying this object. This number is injected into the user
|
| - // agent to allow the network layer to know which web view requests originated
|
| - // from.
|
| - base::scoped_nsobject<NSString> request_group_id_;
|
| -
|
| // Callbacks associated to command prefixes.
|
| std::map<std::string, ScriptCommandCallback> script_command_callbacks_;
|
|
|
|
|