Commit 32f7cc2b authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

content: removes some dead code

IsOfficialBuild() appears unused.

BUG=none
TEST=none

Change-Id: I4a2552d143015bb22f112bcbde2faa9e2d243280
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2132666
Auto-Submit: Scott Violet <sky@chromium.org>
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Cr-Commit-Position: refs/heads/master@{#756096}
parent 6d479ec1
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
#include "base/android/jni_string.h" #include "base/android/jni_string.h"
#include "content/browser/android/content_startup_flags.h" #include "content/browser/android/content_startup_flags.h"
#include "content/browser/browser_main_loop.h" #include "content/browser/browser_main_loop.h"
#include "ppapi/buildflags/buildflags.h"
#include "content/public/android/content_jni_headers/BrowserStartupControllerImpl_jni.h" #include "content/public/android/content_jni_headers/BrowserStartupControllerImpl_jni.h"
using base::android::JavaParamRef; using base::android::JavaParamRef;
...@@ -38,14 +36,6 @@ static void JNI_BrowserStartupControllerImpl_SetCommandLineFlags( ...@@ -38,14 +36,6 @@ static void JNI_BrowserStartupControllerImpl_SetCommandLineFlags(
SetContentCommandLineFlags(static_cast<bool>(single_process)); SetContentCommandLineFlags(static_cast<bool>(single_process));
} }
static jboolean JNI_BrowserStartupControllerImpl_IsOfficialBuild(JNIEnv* env) {
#if defined(OFFICIAL_BUILD)
return true;
#else
return false;
#endif
}
static void JNI_BrowserStartupControllerImpl_FlushStartupTasks(JNIEnv* env) { static void JNI_BrowserStartupControllerImpl_FlushStartupTasks(JNIEnv* env) {
BrowserMainLoop::GetInstance()->SynchronouslyFlushStartupTasks(); BrowserMainLoop::GetInstance()->SynchronouslyFlushStartupTasks();
} }
......
...@@ -494,9 +494,6 @@ public class BrowserStartupControllerImpl implements BrowserStartupController { ...@@ -494,9 +494,6 @@ public class BrowserStartupControllerImpl implements BrowserStartupController {
@NativeMethods @NativeMethods
interface Natives { interface Natives {
void setCommandLineFlags(boolean singleProcess); void setCommandLineFlags(boolean singleProcess);
// Is this an official build of Chrome? Only native code knows for sure. Official build
// knowledge is needed very early in process startup.
boolean isOfficialBuild();
void flushStartupTasks(); void flushStartupTasks();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment