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

Unified Diff: components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h

Issue 2502343003: Moved //components/proximity_auth/cryptauth to //components/cryptauth. (Closed)
Patch Set: Fixed proto #includes. 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 side-by-side diff with in-line comments
Download patch
Index: components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h
diff --git a/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h b/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h
deleted file mode 100644
index 3c428628befcbb394b06172fefed56001eeccc9e..0000000000000000000000000000000000000000
--- a/components/proximity_auth/cryptauth/cryptauth_access_token_fetcher.h
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_H
-#define COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_H
-
-#include <string>
-
-#include "base/callback_forward.h"
-
-namespace proximity_auth {
-
-// Simple interface for fetching the OAuth2 access token that authorizes
-// CryptAuth API calls. Do not reuse this after calling FetchAccessToken();
-// instead, create a new instance.
-class CryptAuthAccessTokenFetcher {
- public:
- virtual ~CryptAuthAccessTokenFetcher() {}
-
- // Fetches the access token asynchronously, invoking the callback upon
- // completion. If the fetch fails, the callback will be invoked with an empty
- // string.
- typedef base::Callback<void(const std::string&)> AccessTokenCallback;
- virtual void FetchAccessToken(const AccessTokenCallback& callback) = 0;
-};
-
-} // namespace proximity_auth
-
-#endif // COMPONENTS_PROXIMITY_AUTH_CRYPTAUTH_ACCESS_TOKEN_FETCHER_H
« no previous file with comments | « components/proximity_auth/cryptauth/DEPS ('k') | components/proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698