summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authormnaganov <mnaganov@chromium.org>2015-12-03 09:36:42 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-03 17:37:43 +0000
commit135bcd2349a7d6277d54f6e125bb84571903049b (patch)
tree91af1458bc0936da62d15e7a14b126d1732f5ce0 /android_webview
parent3ec8ac57b3788dd43da901a05ec99a4364e088bf (diff)
downloadchromium_src-135bcd2349a7d6277d54f6e125bb84571903049b.zip
chromium_src-135bcd2349a7d6277d54f6e125bb84571903049b.tar.gz
chromium_src-135bcd2349a7d6277d54f6e125bb84571903049b.tar.bz2
[Android WebView] Remove AwMainDelegate::SandboxInitialized
Looks like everything that is done in ChromeMainDelegate::SandboxInitialized is not applicable to WebView. Review URL: https://codereview.chromium.org/1491743007 Cr-Commit-Position: refs/heads/master@{#363003}
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/lib/main/aw_main_delegate.cc4
-rw-r--r--android_webview/lib/main/aw_main_delegate.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc
index e2f7fc1..79dac36 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/main/aw_main_delegate.cc
@@ -174,10 +174,6 @@ void AwMainDelegate::PreSandboxStartup() {
crash_reporter::EnableMicrodumpCrashReporter();
}
-void AwMainDelegate::SandboxInitialized(const std::string& process_type) {
- // TODO(torne): Adjust linux OOM score here.
-}
-
int AwMainDelegate::RunProcess(
const std::string& process_type,
const content::MainFunctionParams& main_function_params) {
diff --git a/android_webview/lib/main/aw_main_delegate.h b/android_webview/lib/main/aw_main_delegate.h
index b701986..d0c943e 100644
--- a/android_webview/lib/main/aw_main_delegate.h
+++ b/android_webview/lib/main/aw_main_delegate.h
@@ -32,7 +32,6 @@ class AwMainDelegate : public content::ContentMainDelegate,
// content::ContentMainDelegate implementation:
bool BasicStartupComplete(int* exit_code) override;
void PreSandboxStartup() override;
- void SandboxInitialized(const std::string& process_type) override;
int RunProcess(
const std::string& process_type,
const content::MainFunctionParams& main_function_params) override;