| Index: ios/web/shell/shell_network_delegate.h
|
| diff --git a/content/shell/browser/shell_network_delegate.h b/ios/web/shell/shell_network_delegate.h
|
| similarity index 85%
|
| copy from content/shell/browser/shell_network_delegate.h
|
| copy to ios/web/shell/shell_network_delegate.h
|
| index a23f5ffc56367e2ce9f9e3729495b5b212522da8..70f0f210e5230d2cdd34f4e2630f23d0d7a4bc2d 100644
|
| --- a/content/shell/browser/shell_network_delegate.h
|
| +++ b/ios/web/shell/shell_network_delegate.h
|
| @@ -1,23 +1,21 @@
|
| -// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Copyright 2014 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_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
|
| -#define CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
|
| +#ifndef IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_
|
| +#define IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_
|
|
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| #include "net/base/network_delegate_impl.h"
|
|
|
| -namespace content {
|
| +namespace web {
|
|
|
| class ShellNetworkDelegate : public net::NetworkDelegateImpl {
|
| public:
|
| ShellNetworkDelegate();
|
| ~ShellNetworkDelegate() override;
|
|
|
| - static void SetAcceptAllCookies(bool accept);
|
| -
|
| private:
|
| // net::NetworkDelegate implementation.
|
| int OnBeforeURLRequest(net::URLRequest* request,
|
| @@ -54,11 +52,10 @@ class ShellNetworkDelegate : public net::NetworkDelegateImpl {
|
| bool OnCanAccessFile(const net::URLRequest& request,
|
| const base::FilePath& path) const override;
|
| bool OnCanThrottleRequest(const net::URLRequest& request) const override;
|
| - bool OnFirstPartyOnlyCookieExperimentEnabled() const override;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ShellNetworkDelegate);
|
| };
|
|
|
| -} // namespace content
|
| +} // namespace web
|
|
|
| -#endif // CONTENT_SHELL_BROWSER_SHELL_NETWORK_DELEGATE_H_
|
| +#endif // IOS_WEB_SHELL_SHELL_NETWORK_DELEGATE_H_
|
|
|