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

Unified Diff: android_webview/lib/main/aw_main_delegate.cc

Issue 10893025: Android WebView: tidy up source/gyp layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.h ('k') | android_webview/lib/main/webview_entry_point.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « android_webview/lib/main/aw_main_delegate.h ('k') | android_webview/lib/main/webview_entry_point.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698