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

Unified Diff: components/cryptauth/cryptauth_client_impl.h

Issue 2888053003: Network traffic annotation added to OAuth2ApiCallFlow and its subclasses. (Closed)
Patch Set: Annotations updated. Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cryptauth/cryptauth_client.h ('k') | components/cryptauth/cryptauth_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cryptauth/cryptauth_client_impl.h
diff --git a/components/cryptauth/cryptauth_client_impl.h b/components/cryptauth/cryptauth_client_impl.h
index d880a118e24727c80d02beb3d2f0313020898ebc..31d7ddf02f921ea9717eda0e1e3a069c6633fe1f 100644
--- a/components/cryptauth/cryptauth_client_impl.h
+++ b/components/cryptauth/cryptauth_client_impl.h
@@ -11,6 +11,7 @@
#include "components/cryptauth/cryptauth_api_call_flow.h"
#include "components/cryptauth/cryptauth_client.h"
#include "components/cryptauth/proto/cryptauth_api.pb.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
#include "net/url_request/url_request_context_getter.h"
class OAuth2TokenService;
@@ -39,15 +40,18 @@ class CryptAuthClientImpl : public CryptAuthClient {
// CryptAuthClient:
void GetMyDevices(const GetMyDevicesRequest& request,
const GetMyDevicesCallback& callback,
- const ErrorCallback& error_callback) override;
+ const ErrorCallback& error_callback,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation) override;
void FindEligibleUnlockDevices(
const FindEligibleUnlockDevicesRequest& request,
const FindEligibleUnlockDevicesCallback& callback,
const ErrorCallback& error_callback) override;
- void SendDeviceSyncTickle(
- const SendDeviceSyncTickleRequest& request,
- const SendDeviceSyncTickleCallback& callback,
- const ErrorCallback& error_callback) override;
+ void SendDeviceSyncTickle(const SendDeviceSyncTickleRequest& request,
+ const SendDeviceSyncTickleCallback& callback,
+ const ErrorCallback& error_callback,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation) override;
void ToggleEasyUnlock(const ToggleEasyUnlockRequest& request,
const ToggleEasyUnlockCallback& callback,
const ErrorCallback& error_callback) override;
@@ -68,7 +72,9 @@ class CryptAuthClientImpl : public CryptAuthClient {
const std::string& request_path,
const RequestProto& request_proto,
const base::Callback<void(const ResponseProto&)>& response_callback,
- const ErrorCallback& error_callback);
+ const ErrorCallback& error_callback,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation);
// Called when the access token is obtained so the API request can be made.
template <class ResponseProto>
« no previous file with comments | « components/cryptauth/cryptauth_client.h ('k') | components/cryptauth/cryptauth_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698