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

Issue 2884353003: [WebView] Remove more redundant classes (Closed)

Created:
3 years, 7 months ago by Shimi Zhang
Modified:
3 years, 7 months ago
Reviewers:
boliu
CC:
chromium-reviews, android-webview-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[WebView] Remove more redundant classes Since we removed native/ layer, we could make jni calls from browser/, so no need of separation anymore. This CL: 1) Merged aw_http_auth_handler_base.{h,cc} -> aw_http_auth_handler.{h,cc} 2) Removed aw_locale_manager.h aw_locale_manager_impl.{h,cc} aw_web_preferences_populater.{h,cc} aw_web_preferences_populater_impl.{h,cc} 3) Removed corresponding class factory functions in JniDependencyFactory and AwMainDelegate. BUG=716604 Review-Url: https://codereview.chromium.org/2884353003 Cr-Commit-Position: refs/heads/master@{#472580} Committed: https://chromium.googlesource.com/chromium/src/+/45f8d9f431184fa691b3671c22618e540bb0b286

Patch Set 1 #

Total comments: 2

Patch Set 2 : remove classes #

Patch Set 3 : rebase #

Patch Set 4 : add missing header #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -272 lines) Patch
M android_webview/BUILD.gn View 1 2 2 chunks +0 lines, -9 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 2 3 5 chunks +8 lines, -15 lines 0 comments Download
M android_webview/browser/aw_http_auth_handler.h View 2 chunks +8 lines, -5 lines 0 comments Download
M android_webview/browser/aw_http_auth_handler.cc View 1 chunk +3 lines, -4 lines 0 comments Download
D android_webview/browser/aw_http_auth_handler_base.h View 1 chunk +0 lines, -37 lines 0 comments Download
D android_webview/browser/aw_http_auth_handler_base.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M android_webview/browser/aw_locale_manager.h View 1 1 chunk +0 lines, -30 lines 0 comments Download
D android_webview/browser/aw_locale_manager_impl.h View 1 chunk +0 lines, -29 lines 0 comments Download
D android_webview/browser/aw_locale_manager_impl.cc View 1 chunk +0 lines, -23 lines 0 comments Download
M android_webview/browser/aw_login_delegate.h View 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/browser/aw_login_delegate.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M android_webview/browser/aw_web_preferences_populater.h View 1 1 chunk +0 lines, -26 lines 0 comments Download
M android_webview/browser/aw_web_preferences_populater.cc View 1 1 chunk +0 lines, -11 lines 0 comments Download
D android_webview/browser/aw_web_preferences_populater_impl.h View 1 chunk +0 lines, -25 lines 0 comments Download
D android_webview/browser/aw_web_preferences_populater_impl.cc View 1 chunk +0 lines, -24 lines 0 comments Download
M android_webview/browser/jni_dependency_factory.h View 2 chunks +0 lines, -4 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M android_webview/lib/main/aw_main_delegate.cc View 1 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 27 (21 generated)
Shimi Zhang
Bo, PTAL, thanks! This is another CL merges native/ and browser/ classes.
3 years, 7 months ago (2017-05-17 01:19:39 UTC) #5
boliu
https://codereview.chromium.org/2884353003/diff/1/android_webview/browser/aw_locale_manager.cc File android_webview/browser/aw_locale_manager.cc (right): https://codereview.chromium.org/2884353003/diff/1/android_webview/browser/aw_locale_manager.cc#newcode11 android_webview/browser/aw_locale_manager.cc:11: std::string AwLocaleManager::GetLocale() { this one too, remove this class ...
3 years, 7 months ago (2017-05-17 16:18:11 UTC) #8
Shimi Zhang
On 2017/05/17 16:18:11, boliu wrote: > https://codereview.chromium.org/2884353003/diff/1/android_webview/browser/aw_locale_manager.cc > File android_webview/browser/aw_locale_manager.cc (right): > > https://codereview.chromium.org/2884353003/diff/1/android_webview/browser/aw_locale_manager.cc#newcode11 > ...
3 years, 7 months ago (2017-05-17 18:06:34 UTC) #12
boliu
lgtm
3 years, 7 months ago (2017-05-17 18:54:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2884353003/60001
3 years, 7 months ago (2017-05-17 21:28:53 UTC) #24
commit-bot: I haz the power
3 years, 7 months ago (2017-05-17 21:53:04 UTC) #27
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/45f8d9f431184fa691b3671c2261...

Powered by Google App Engine
This is Rietveld 408576698