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

Unified Diff: chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h

Issue 2204223005: Blimp OAuth2 token retreival on application start up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes for nits. Created 4 years, 4 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: chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h
diff --git a/chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h b/chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h
index 4e37ab6041ebae8d50c36620a935c7c426da7eb0..68ba6e71d3695d1386cfb54e39a55669a7852ac8 100644
--- a/chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h
+++ b/chrome/browser/android/blimp/chrome_blimp_client_context_delegate.h
@@ -5,9 +5,12 @@
#ifndef CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
#define CHROME_BROWSER_ANDROID_BLIMP_CHROME_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
+#include <memory>
+
#include "base/macros.h"
#include "blimp/client/public/blimp_client_context_delegate.h"
+class IdentityProvider;
class Profile;
namespace blimp {
@@ -34,6 +37,9 @@ class ChromeBlimpClientContextDelegate
void OnAssignmentConnectionAttempted(
blimp::client::AssignmentRequestResult result,
const blimp::client::Assignment& assignment) override;
+ std::unique_ptr<IdentityProvider> CreateIdentityProvider() override;
+ void OnAuthenticationError(
+ BlimpClientContextDelegate::AuthError error) override;
private:
// The profile this delegate is used for.

Powered by Google App Engine
This is Rietveld 408576698