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

Unified Diff: android_webview/lib/aw_main_delegate.cc

Issue 2901333003: [WebView] Flatten lib/main to lib (Closed)
Patch Set: nits Created 3 years, 7 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/aw_main_delegate.h ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/lib/aw_main_delegate.cc
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/aw_main_delegate.cc
similarity index 97%
rename from android_webview/lib/main/aw_main_delegate.cc
rename to android_webview/lib/aw_main_delegate.cc
index 004d9ad944779dfa496c437caf1f5269a292af05..033d35f5919d33c7f7e5de7be241a10514850ddf 100644
--- a/android_webview/lib/main/aw_main_delegate.cc
+++ b/android_webview/lib/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/aw_main_delegate.h"
+#include "android_webview/lib/aw_main_delegate.h"
#include <memory>
@@ -50,11 +50,9 @@
namespace android_webview {
-AwMainDelegate::AwMainDelegate() {
-}
+AwMainDelegate::AwMainDelegate() {}
-AwMainDelegate::~AwMainDelegate() {
-}
+AwMainDelegate::~AwMainDelegate() {}
bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
content::SetContentClient(&content_client_);
@@ -76,8 +74,8 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) {
// Web Notification API and the Push API are not supported (crbug.com/434712)
cl->AppendSwitch(switches::kDisableNotifications);
- // WebRTC hardware decoding is not supported, internal bug 15075307
#if BUILDFLAG(ENABLE_WEBRTC)
+ // WebRTC hardware decoding is not supported, internal bug 15075307
cl->AppendSwitch(switches::kDisableWebRtcHWDecoding);
#endif
@@ -239,8 +237,7 @@ void AwMainDelegate::ProcessExiting(const std::string& process_type) {
logging::CloseLogFile();
}
-content::ContentBrowserClient*
- AwMainDelegate::CreateContentBrowserClient() {
+content::ContentBrowserClient* AwMainDelegate::CreateContentBrowserClient() {
content_browser_client_.reset(new AwContentBrowserClient());
return content_browser_client_.get();
}
@@ -258,8 +255,7 @@ content::ContentGpuClient* AwMainDelegate::CreateContentGpuClient() {
return content_gpu_client_.get();
}
-content::ContentRendererClient*
- AwMainDelegate::CreateContentRendererClient() {
+content::ContentRendererClient* AwMainDelegate::CreateContentRendererClient() {
content_renderer_client_.reset(new AwContentRendererClient());
return content_renderer_client_.get();
}
« no previous file with comments | « android_webview/lib/aw_main_delegate.h ('k') | android_webview/lib/main/aw_main_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698