Index: android_webview/lib/main/aw_main_delegate.cc |
diff --git a/android_webview/lib/main/webview_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
similarity index 77% |
rename from android_webview/lib/main/webview_main_delegate.cc |
rename to android_webview/lib/main/aw_main_delegate.cc |
index 3e054638f4c5b54c612b98168c68aff0770abbb5..611cf15397a72eb591e728e7e857eee1c0fb4d06 100644 |
--- a/android_webview/lib/main/webview_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -2,7 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "android_webview/lib/main/webview_main_delegate.h" |
+#include "android_webview/lib/main/aw_main_delegate.h" |
#include "android_webview/lib/aw_browser_dependency_factory_impl.h" |
#include "android_webview/lib/aw_content_browser_client.h" |
@@ -20,30 +20,30 @@ base::LazyInstance<AwContentBrowserClient> |
base::LazyInstance<chrome::ChromeContentRendererClient> |
g_webview_content_renderer_client = LAZY_INSTANCE_INITIALIZER; |
-WebViewMainDelegate::WebViewMainDelegate() { |
+AwMainDelegate::AwMainDelegate() { |
} |
-WebViewMainDelegate::~WebViewMainDelegate() { |
+AwMainDelegate::~AwMainDelegate() { |
} |
-bool WebViewMainDelegate::BasicStartupComplete(int* exit_code) { |
+bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
content::SetContentClient(&chrome_content_client_); |
return false; |
} |
-void WebViewMainDelegate::PreSandboxStartup() { |
+void AwMainDelegate::PreSandboxStartup() { |
chrome::RegisterPathProvider(); |
// TODO(torne): When we have a separate renderer process, we need to handle |
// being passed open FDs for the resource paks here. |
} |
-void WebViewMainDelegate::SandboxInitialized(const std::string& process_type) { |
+void AwMainDelegate::SandboxInitialized(const std::string& process_type) { |
// TODO(torne): Adjust linux OOM score here. |
} |
-int WebViewMainDelegate::RunProcess( |
+int AwMainDelegate::RunProcess( |
const std::string& process_type, |
const content::MainFunctionParams& main_function_params) { |
if (process_type.empty()) { |
@@ -61,19 +61,19 @@ int WebViewMainDelegate::RunProcess( |
return -1; |
} |
-void WebViewMainDelegate::ProcessExiting(const std::string& process_type) { |
+void AwMainDelegate::ProcessExiting(const std::string& process_type) { |
// TODO(torne): Clean up resources when we handle them. |
logging::CloseLogFile(); |
} |
content::ContentBrowserClient* |
- WebViewMainDelegate::CreateContentBrowserClient() { |
+ AwMainDelegate::CreateContentBrowserClient() { |
return &g_webview_content_browser_client.Get(); |
} |
content::ContentRendererClient* |
- WebViewMainDelegate::CreateContentRendererClient() { |
+ AwMainDelegate::CreateContentRendererClient() { |
return &g_webview_content_renderer_client.Get(); |
} |