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

Unified Diff: blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java

Issue 2132163002: Add BlimpClientContext and factory with real and dummy implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move-blimp-client-core-public-to-blimp-client
Patch Set: git merge origin/master before CQ for good measure Created 4 years, 5 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
« no previous file with comments | « blimp/client/public/android/blimp_jni_registrar.h ('k') | blimp/client/public/blimp_client_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
diff --git a/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java b/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
new file mode 100644
index 0000000000000000000000000000000000000000..ee497c21145e2eb906508db8c7e5d9fbf4275207
--- /dev/null
+++ b/blimp/client/public/android/java/src/org/chromium/blimp_public/BlimpClientContext.java
@@ -0,0 +1,20 @@
+// Copyright 2016 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.
+
+package org.chromium.blimp_public;
+
+/**
+ * BlimpClientContext is the Java representation of a native BlimpClientContext object.
+ * It is owned by the native BrowserContext.
+ *
+ * BlimpClientContext is the core class for the Blimp client. It provides hooks for creating
+ * BlimpContents and other features that are per BrowserContext/Profile.
+ */
+public interface BlimpClientContext {
+ /**
+ * Creates a {@link BlimpContents} and takes ownership of it. The caller must call
+ * {@link BlimpContents#destroy()} for destruction of the BlimpContents.
+ */
+ BlimpContents createBlimpContents();
+}
« no previous file with comments | « blimp/client/public/android/blimp_jni_registrar.h ('k') | blimp/client/public/blimp_client_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698