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

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

Issue 2713993004: Update CRIWVWebClient prefix. (Closed)
Patch Set: 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
Index: ios/web_view/internal/cwv_website_data_store.mm
diff --git a/ios/web_view/internal/cwv_website_data_store.mm b/ios/web_view/internal/cwv_website_data_store.mm
index 071acb9ad808a2ade75cc94268e457b689c54edc..11b0d281c9c4b534e005d4cbb4e8c2ceb9d03758 100644
--- a/ios/web_view/internal/cwv_website_data_store.mm
+++ b/ios/web_view/internal/cwv_website_data_store.mm
@@ -6,8 +6,8 @@
#include <memory.h>
-#import "ios/web_view/internal/criwv_web_client.h"
#include "ios/web_view/internal/cwv_browser_state.h"
+#import "ios/web_view/internal/cwv_web_client.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
@@ -32,8 +32,8 @@ ios_web_view::CWVBrowserState* _browserState;
+ (instancetype)defaultDataStore {
CWVWebsiteDataStore* dataStore = [[CWVWebsiteDataStore alloc] init];
- ios_web_view::CRIWVWebClient* client =
- static_cast<ios_web_view::CRIWVWebClient*>(web::GetWebClient());
+ ios_web_view::CWVWebClient* client =
+ static_cast<ios_web_view::CWVWebClient*>(web::GetWebClient());
[dataStore setBrowserState:client->browser_state()];
return dataStore;
@@ -42,8 +42,8 @@ ios_web_view::CWVBrowserState* _browserState;
+ (instancetype)nonPersistentDataStore {
CWVWebsiteDataStore* dataStore = [[CWVWebsiteDataStore alloc] init];
- ios_web_view::CRIWVWebClient* client =
- static_cast<ios_web_view::CRIWVWebClient*>(web::GetWebClient());
+ ios_web_view::CWVWebClient* client =
+ static_cast<ios_web_view::CWVWebClient*>(web::GetWebClient());
[dataStore setBrowserState:client->off_the_record_browser_state()];
return dataStore;
« ios/web_view/internal/cwv_web_client.h ('K') | « ios/web_view/internal/cwv_web_client.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698