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

Unified Diff: ios/web_view/internal/web_view_web_main_parts.mm

Issue 2715043002: Replace prefix of ios/web_view C++ classes. (Closed)
Patch Set: Respond to comments. Created 3 years, 10 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 | « ios/web_view/internal/web_view_web_main_parts.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/internal/web_view_web_main_parts.mm
diff --git a/ios/web_view/internal/criwv_web_main_parts.mm b/ios/web_view/internal/web_view_web_main_parts.mm
similarity index 78%
rename from ios/web_view/internal/criwv_web_main_parts.mm
rename to ios/web_view/internal/web_view_web_main_parts.mm
index 666b4502e77a5098979d8a66d5a1376889f4a828..3b98e727ea3b3158e56dad1ff8d6816445319788 100644
--- a/ios/web_view/internal/criwv_web_main_parts.mm
+++ b/ios/web_view/internal/web_view_web_main_parts.mm
@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#import "ios/web_view/internal/criwv_web_main_parts.h"
+#import "ios/web_view/internal/web_view_web_main_parts.h"
#include "base/base_paths.h"
#include "base/memory/ptr_util.h"
#include "base/path_service.h"
#include "components/translate/core/browser/translate_download_manager.h"
-#include "ios/web_view/internal/criwv_browser_state.h"
+#include "ios/web_view/internal/web_view_browser_state.h"
#import "ios/web_view/public/cwv_delegate.h"
#include "ui/base/l10n/l10n_util_mac.h"
#include "ui/base/resource/resource_bundle.h"
@@ -19,13 +19,13 @@
namespace ios_web_view {
-CRIWVWebMainParts::CRIWVWebMainParts(id<CWVDelegate> delegate) {
+WebViewWebMainParts::WebViewWebMainParts(id<CWVDelegate> delegate) {
delegate_ = delegate;
}
-CRIWVWebMainParts::~CRIWVWebMainParts() {}
+WebViewWebMainParts::~WebViewWebMainParts() = default;
-void CRIWVWebMainParts::PreMainMessageLoopRun() {
+void WebViewWebMainParts::PreMainMessageLoopRun() {
// Initialize resources.
l10n_util::OverrideLocaleWithCocoaLocale();
ui::ResourceBundle::InitSharedInstanceWithLocale(
@@ -36,8 +36,8 @@ void CRIWVWebMainParts::PreMainMessageLoopRun() {
ui::ResourceBundle::GetSharedInstance().AddDataPackFromPath(
pak_file, ui::SCALE_FACTOR_NONE);
- browser_state_ = base::MakeUnique<CRIWVBrowserState>(false);
- off_the_record_browser_state_ = base::MakeUnique<CRIWVBrowserState>(true);
+ browser_state_ = base::MakeUnique<WebViewBrowserState>(false);
+ off_the_record_browser_state_ = base::MakeUnique<WebViewBrowserState>(true);
// Initialize translate.
translate::TranslateDownloadManager* download_manager =
« no previous file with comments | « ios/web_view/internal/web_view_web_main_parts.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698