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

Side by Side Diff: content/browser/loader/navigation_url_loader_network_service.h

Issue 2891773002: Add a stub implementation of the URLLoaderFactory for AppCache. (Closed)
Patch Set: Generate a request_id on the same lines as RDHI to prevent DCHECKs in metrics code which validate t… Created 3 years, 7 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ 5 #ifndef CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_
6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ 6 #define CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "content/browser/loader/navigation_url_loader.h" 9 #include "content/browser/loader/navigation_url_loader.h"
10 #include "content/common/url_loader.mojom.h" 10 #include "content/common/url_loader.mojom.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 private: 62 private:
63 NavigationURLLoaderDelegate* delegate_; 63 NavigationURLLoaderDelegate* delegate_;
64 64
65 mojo::Binding<mojom::URLLoaderClient> binding_; 65 mojo::Binding<mojom::URLLoaderClient> binding_;
66 std::unique_ptr<NavigationRequestInfo> request_info_; 66 std::unique_ptr<NavigationRequestInfo> request_info_;
67 mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_; 67 mojom::URLLoaderAssociatedPtr url_loader_associated_ptr_;
68 scoped_refptr<ResourceResponse> response_; 68 scoped_refptr<ResourceResponse> response_;
69 SSLStatus ssl_status_; 69 SSLStatus ssl_status_;
70 70
71 // Request ID for browser initiated requests. We start at -2 on the same lines
72 // ResourceDispatcherHostImpl.
73 int request_id_;
74
71 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService); 75 DISALLOW_COPY_AND_ASSIGN(NavigationURLLoaderNetworkService);
72 }; 76 };
73 77
74 } // namespace content 78 } // namespace content
75 79
76 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_ 80 #endif // CONTENT_BROWSER_LOADER_NAVIGATION_URL_LOADER_NETWORK_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698