| Index: content/public/android/java/src/org/chromium/content/browser/StartupObserver.java
|
| diff --git a/content/public/android/java/src/org/chromium/content/browser/StartupObserver.java b/content/public/android/java/src/org/chromium/content/browser/StartupObserver.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c140308b8788bf226f26e28167b6ba844aaec7b0
|
| --- /dev/null
|
| +++ b/content/public/android/java/src/org/chromium/content/browser/StartupObserver.java
|
| @@ -0,0 +1,20 @@
|
| +// Copyright (c) 2012 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.content.browser;
|
| +
|
| +import org.chromium.base.CalledByNative;
|
| +
|
| +/**
|
| + * Abstract class for observing the completion of the C++ startup tasks. If you
|
| + * want an observer create a concrete object derived from this and pass it to
|
| + * ContentMain.Start() (and hence to content::start() on the C++ side).
|
| + */
|
| +public abstract class StartupObserver {
|
| + /**
|
| + * Called by the C++ side when all the C++ startup tasks have run.
|
| + */
|
| + @CalledByNative
|
| + public abstract void allStartupTasksRan();
|
| +}
|
|
|