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

Unified Diff: blimp/client/core/blimp_client_context_impl.h

Issue 2204223005: Blimp OAuth2 token retreival on application start up. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add some deps only for gn deps check script. 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: blimp/client/core/blimp_client_context_impl.h
diff --git a/blimp/client/core/blimp_client_context_impl.h b/blimp/client/core/blimp_client_context_impl.h
index dfc184bb8da929436f069398de4935e5f445b9fc..37d7830b64c9039d8f0c58e33e9f371334e8b62f 100644
--- a/blimp/client/core/blimp_client_context_impl.h
+++ b/blimp/client/core/blimp_client_context_impl.h
@@ -13,6 +13,7 @@
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "blimp/client/core/session/client_network_components.h"
+#include "blimp/client/core/session/identity_source.h"
#include "blimp/client/core/session/network_event_observer.h"
#include "blimp/client/public/blimp_client_context.h"
#include "blimp/client/public/contents/blimp_contents.h"
@@ -44,6 +45,7 @@ class BlimpClientContextImpl : public BlimpClientContext,
void SetDelegate(BlimpClientContextDelegate* delegate) override;
std::unique_ptr<BlimpContents> CreateBlimpContents() override;
void Connect(const std::string& client_auth_token) override;
+ void Connect() override;
// NetworkEventObserver implementation.
void OnConnected() override;
@@ -85,6 +87,8 @@ class BlimpClientContextImpl : public BlimpClientContext,
std::unique_ptr<ThreadPipeManager> thread_pipe_manager_;
+ std::unique_ptr<IdentitySource> identity_source_;
nyquist 2016/08/12 05:47:04 Could you explain what this is used for?
xingliu 2016/08/12 21:11:18 Done.
+
base::WeakPtrFactory<BlimpClientContextImpl> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(BlimpClientContextImpl);

Powered by Google App Engine
This is Rietveld 408576698