summaryrefslogtreecommitdiffstats
path: root/chrome/browser/after_startup_task_utils_android.cc
blob: 925b6c193738aa1db6f7f812cc586ee80efb8522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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.

#include "chrome/browser/after_startup_task_utils_android.h"

#include "chrome/browser/after_startup_task_utils.h"
#include "jni/AfterStartupTaskUtils_jni.h"

namespace android {

class AfterStartupTaskUtilsJNI {
 public:
  static void SetBrowserStartupIsComplete() {
    AfterStartupTaskUtils::SetBrowserStartupIsComplete();
  }
};

}  // android

static void SetStartupComplete(JNIEnv* env, const JavaParamRef<jclass>& obj) {
  android::AfterStartupTaskUtilsJNI::SetBrowserStartupIsComplete();
}

bool RegisterAfterStartupTaskUtilsJNI(JNIEnv* env) {
  return RegisterNativesImpl(env);
}