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

Unified Diff: blimp/client/public/blimp_client_context.h

Issue 2299453002: Restrict number of BlimpContents to [0, 1] (Closed)
Patch Set: patch failure fix 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/public/blimp_client_context.h
diff --git a/blimp/client/public/blimp_client_context.h b/blimp/client/public/blimp_client_context.h
index 52573d3a726e438e4bc4b0ffa1083320b5237447..98999dd72781ba16423074d87060c88d41ef86dc 100644
--- a/blimp/client/public/blimp_client_context.h
+++ b/blimp/client/public/blimp_client_context.h
@@ -52,6 +52,8 @@ class BlimpClientContext : public KeyedService {
virtual void SetDelegate(BlimpClientContextDelegate* delegate) = 0;
// Creates a new BlimpContents.
+ // TODO(mlliu): Currently we want to have a single BlimpContents. If there is
+ // an existing contents, return nullptr (http://crbug.com/642558).
virtual std::unique_ptr<BlimpContents> CreateBlimpContents() = 0;
// Start authentication flow and connection to engine.

Powered by Google App Engine
This is Rietveld 408576698