Index: ios/web_view/internal/web_view_browser_state.h |
diff --git a/ios/web_view/internal/criwv_browser_state.h b/ios/web_view/internal/web_view_browser_state.h |
similarity index 67% |
rename from ios/web_view/internal/criwv_browser_state.h |
rename to ios/web_view/internal/web_view_browser_state.h |
index cb2e4f83139987a8009643e826f901db20471443..9c513234af4f44224426a4bf59aefbfd96ff7374 100644 |
--- a/ios/web_view/internal/criwv_browser_state.h |
+++ b/ios/web_view/internal/web_view_browser_state.h |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_ |
-#define IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_ |
+#ifndef IOS_WEB_VIEW_INTERNAL_WEB_VIEW_BROWSER_STATE_H_ |
+#define IOS_WEB_VIEW_INTERNAL_WEB_VIEW_BROWSER_STATE_H_ |
#include <memory> |
@@ -19,13 +19,13 @@ class PrefRegistrySyncable; |
namespace ios_web_view { |
-class CRIWVURLRequestContextGetter; |
+class WebViewURLRequestContextGetter; |
// CWV implementation of BrowserState. Can only be called from the UI thread. |
Eugene But (OOO till 7-30)
2017/02/25 01:29:28
nit:
// WebView implementation of BrowserState. C
michaeldo
2017/02/25 07:41:11
Done.
|
-class CRIWVBrowserState : public web::BrowserState { |
+class WebViewBrowserState : public web::BrowserState { |
public: |
- explicit CRIWVBrowserState(bool off_the_record); |
- ~CRIWVBrowserState() override; |
+ explicit WebViewBrowserState(bool off_the_record); |
+ ~WebViewBrowserState() override; |
// web::BrowserState implementation. |
bool IsOffTheRecord() const override; |
@@ -35,8 +35,9 @@ class CRIWVBrowserState : public web::BrowserState { |
// Returns the associated PrefService. |
PrefService* GetPrefs(); |
- // Converts from web::BrowserState to CRIWVBrowserState. |
- static CRIWVBrowserState* FromBrowserState(web::BrowserState* browser_state); |
+ // Converts from web::BrowserState to WebViewBrowserState. |
+ static WebViewBrowserState* FromBrowserState( |
+ web::BrowserState* browser_state); |
private: |
// Registers the preferences for this BrowserState. |
@@ -49,14 +50,14 @@ class CRIWVBrowserState : public web::BrowserState { |
bool off_the_record_; |
// The request context getter for this BrowserState object. |
- scoped_refptr<CRIWVURLRequestContextGetter> request_context_getter_; |
+ scoped_refptr<WebViewURLRequestContextGetter> request_context_getter_; |
// The PrefService associated with this BrowserState. |
std::unique_ptr<PrefService> prefs_; |
- DISALLOW_COPY_AND_ASSIGN(CRIWVBrowserState); |
+ DISALLOW_COPY_AND_ASSIGN(WebViewBrowserState); |
}; |
} // namespace ios_web_view |
-#endif // IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_ |
+#endif // IOS_WEB_VIEW_INTERNAL_WEB_VIEW_BROWSER_STATE_H_ |