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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java

Issue 1521013002: Make the ChromeBrowserInitializer the only way to start the browser process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yfriedman@ comment Created 5 years 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/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java b/chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java
new file mode 100644
index 0000000000000000000000000000000000000000..095c22119f2205b7f293c26f80cf5c2f56b55b7d
--- /dev/null
+++ b/chrome/android/java/src/org/chromium/chrome/browser/init/EmptyBrowserParts.java
@@ -0,0 +1,49 @@
+// Copyright 2015 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.chrome.browser.init;
+
+/**
+ * Empty implementation of the browser parts for easy extension.
+ */
+public class EmptyBrowserParts implements BrowserParts {
+
+ @Override
+ public void preInflationStartup() {
+ }
+
+ @Override
+ public void setContentViewAndLoadLibrary() {
+ }
+
+ @Override
+ public void postInflationStartup() {
+ }
+
+ @Override
+ public void maybePreconnect() {
+ }
+
+ @Override
+ public void initializeCompositor() {
+ }
+
+ @Override
+ public void initializeState() {
+ }
+
+ @Override
+ public void finishNativeInitialization() {
+ }
+
+ @Override
+ public void onStartupFailure() {
+ }
+
+ @Override
+ public boolean isActivityDestroyed() {
+ return false;
+ }
+
+}

Powered by Google App Engine
This is Rietveld 408576698