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

Side by Side Diff: chrome/browser/after_startup_task_utils_android.cc

Issue 2209993003: Add missing using statements for JNI types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/after_startup_task_utils_android.h" 5 #include "chrome/browser/after_startup_task_utils_android.h"
6 6
7 #include "chrome/browser/after_startup_task_utils.h" 7 #include "chrome/browser/after_startup_task_utils.h"
8 #include "jni/AfterStartupTaskUtils_jni.h" 8 #include "jni/AfterStartupTaskUtils_jni.h"
9 9
10 using base::android::JavaParamRef;
11
10 namespace android { 12 namespace android {
11 13
12 class AfterStartupTaskUtilsJNI { 14 class AfterStartupTaskUtilsJNI {
13 public: 15 public:
14 static void SetBrowserStartupIsComplete() { 16 static void SetBrowserStartupIsComplete() {
15 AfterStartupTaskUtils::SetBrowserStartupIsComplete(); 17 AfterStartupTaskUtils::SetBrowserStartupIsComplete();
16 } 18 }
17 }; 19 };
18 20
19 } // android 21 } // android
20 22
21 static void SetStartupComplete(JNIEnv* env, const JavaParamRef<jclass>& obj) { 23 static void SetStartupComplete(JNIEnv* env, const JavaParamRef<jclass>& obj) {
22 android::AfterStartupTaskUtilsJNI::SetBrowserStartupIsComplete(); 24 android::AfterStartupTaskUtilsJNI::SetBrowserStartupIsComplete();
23 } 25 }
24 26
25 bool RegisterAfterStartupTaskUtilsJNI(JNIEnv* env) { 27 bool RegisterAfterStartupTaskUtilsJNI(JNIEnv* env) {
26 return RegisterNativesImpl(env); 28 return RegisterNativesImpl(env);
27 } 29 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698