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

Unified Diff: components/cryptauth/cryptauth_client.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
Index: components/cryptauth/cryptauth_client.h
diff --git a/components/cryptauth/cryptauth_client.h b/components/cryptauth/cryptauth_client.h
index 98c83d417bad1cc8df66e1042fe276a82fcbb9a3..6779bfb843d2d76097db1995ffb29f100bac87f3 100644
--- a/components/cryptauth/cryptauth_client.h
+++ b/components/cryptauth/cryptauth_client.h
@@ -10,6 +10,7 @@
#include "base/callback_forward.h"
#include "base/macros.h"
+#include "net/traffic_annotation/network_traffic_annotation.h"
namespace cryptauth {
class GetMyDevicesRequest;
@@ -45,7 +46,9 @@ class CryptAuthClient {
GetMyDevicesCallback;
virtual void GetMyDevices(const GetMyDevicesRequest& request,
const GetMyDevicesCallback& callback,
- const ErrorCallback& error_callback) = 0;
+ const ErrorCallback& error_callback,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation) = 0;
// FindEligibleUnlockDevices
typedef base::Callback<void(
@@ -62,7 +65,9 @@ class CryptAuthClient {
virtual void SendDeviceSyncTickle(
const SendDeviceSyncTickleRequest& request,
const SendDeviceSyncTickleCallback& callback,
- const ErrorCallback& error_callback) = 0;
+ const ErrorCallback& error_callback,
+ const net::PartialNetworkTrafficAnnotationTag&
+ partial_traffic_annotation) = 0;
// ToggleEasyUnlock
typedef base::Callback<void(const ToggleEasyUnlockResponse&)>
« no previous file with comments | « components/cryptauth/cryptauth_api_call_flow_unittest.cc ('k') | components/cryptauth/cryptauth_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698