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

Side by Side Diff: components/data_use_measurement/core/data_use_ascriber.h

Issue 2413663003: Expose GlobalRequestID in NavigationHandle and ResourceRequestInfo. (Closed)
Patch Set: Use OnURLRequestDestroyed Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_ASCRIBER_H_ 5 #ifndef COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_ASCRIBER_H_
6 #define COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_ASCRIBER_H_ 6 #define COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_ASCRIBER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 virtual void OnBeforeUrlRequest(net::URLRequest* request); 42 virtual void OnBeforeUrlRequest(net::URLRequest* request);
43 43
44 virtual void OnBeforeRedirect(net::URLRequest* request, 44 virtual void OnBeforeRedirect(net::URLRequest* request,
45 const GURL& new_location); 45 const GURL& new_location);
46 46
47 virtual void OnNetworkBytesSent(net::URLRequest* request, int64_t bytes_sent); 47 virtual void OnNetworkBytesSent(net::URLRequest* request, int64_t bytes_sent);
48 48
49 virtual void OnNetworkBytesReceived(net::URLRequest* request, 49 virtual void OnNetworkBytesReceived(net::URLRequest* request,
50 int64_t bytes_received); 50 int64_t bytes_received);
51 51
52 virtual void OnUrlRequestCompleted(net::URLRequest* request, bool started); 52 virtual void OnUrlRequestDestroyed(net::URLRequest* request);
53 }; 53 };
54 54
55 } // namespace data_use_measurement 55 } // namespace data_use_measurement
56 56
57 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_ASCRIBER_H_ 57 #endif // COMPONENTS_DATA_USE_MEASUREMENT_CORE_DATA_USE_ASCRIBER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698