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

Side by Side Diff: ios/web_view/internal/criwv_network_delegate.h

Issue 2703413004: Rename CRIWV class to CWV. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_NETWORK_DELEGATE_H_ 5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_NETWORK_DELEGATE_H_
6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_NETWORK_DELEGATE_H_ 6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_NETWORK_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "net/base/network_delegate_impl.h" 9 #include "net/base/network_delegate_impl.h"
10 10
11 namespace ios_web_view { 11 namespace ios_web_view {
12 12
13 // CRIWV-specific implementation of NetworkDelegate. 13 // CWV-specific implementation of NetworkDelegate.
14 class CRIWVNetworkDelegate : public net::NetworkDelegateImpl { 14 class CRIWVNetworkDelegate : public net::NetworkDelegateImpl {
15 public: 15 public:
16 CRIWVNetworkDelegate(); 16 CRIWVNetworkDelegate();
17 ~CRIWVNetworkDelegate() override; 17 ~CRIWVNetworkDelegate() override;
18 18
19 private: 19 private:
20 // net::NetworkDelegate implementation. 20 // net::NetworkDelegate implementation.
21 int OnBeforeURLRequest(net::URLRequest* request, 21 int OnBeforeURLRequest(net::URLRequest* request,
22 const net::CompletionCallback& callback, 22 const net::CompletionCallback& callback,
23 GURL* new_url) override; 23 GURL* new_url) override;
(...skipping 28 matching lines...) Expand all
52 net::CookieOptions* options) override; 52 net::CookieOptions* options) override;
53 bool OnCanAccessFile(const net::URLRequest& request, 53 bool OnCanAccessFile(const net::URLRequest& request,
54 const base::FilePath& path) const override; 54 const base::FilePath& path) const override;
55 55
56 DISALLOW_COPY_AND_ASSIGN(CRIWVNetworkDelegate); 56 DISALLOW_COPY_AND_ASSIGN(CRIWVNetworkDelegate);
57 }; 57 };
58 58
59 } // namespace ios_web_view 59 } // namespace ios_web_view
60 60
61 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_NETWORK_DELEGATE_H_ 61 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/criwv_browser_state.h ('k') | ios/web_view/internal/criwv_url_request_context_getter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698