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

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

Issue 2211613002: Add AssignmentSource to BlimpClientContextImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge origin/master 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/dummy_blimp_client_context.h
diff --git a/blimp/client/core/dummy_blimp_client_context.h b/blimp/client/core/dummy_blimp_client_context.h
index 92f6e31356ae3c2d03aaa7c4ea42f52dd892716a..207579ed1e91ce8527ed728ad73f2fbb68e9e513 100644
--- a/blimp/client/core/dummy_blimp_client_context.h
+++ b/blimp/client/core/dummy_blimp_client_context.h
@@ -12,7 +12,10 @@
namespace blimp {
namespace client {
-// A dummy implementation of the BlimpClientContext.
+// A dummy implementation of the BlimpClientContext which is in use by
+// embedders that do not set the GN argument |enable_blimp_client| to true.
+// It exists so that it is possible for an embedder to still have code depending
+// on the public APIs of blimp, without in fact linking in all the core code.
class DummyBlimpClientContext : public BlimpClientContext {
public:
DummyBlimpClientContext();
@@ -21,6 +24,7 @@ class DummyBlimpClientContext : public BlimpClientContext {
// BlimpClientContext implementation.
void SetDelegate(BlimpClientContextDelegate* delegate) override;
std::unique_ptr<BlimpContents> CreateBlimpContents() override;
+ void Connect(const std::string& client_auth_token) override;
private:
DISALLOW_COPY_AND_ASSIGN(DummyBlimpClientContext);
« no previous file with comments | « blimp/client/core/blimp_client_context_impl_unittest.cc ('k') | blimp/client/core/dummy_blimp_client_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698