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

Side by Side Diff: ios/web_view/internal/criwv_browser_state.h

Issue 2703413004: Rename CRIWV class to CWV. (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 unified diff | Download patch
« no previous file with comments | « ios/web_view/internal/criwv.mm ('k') | ios/web_view/internal/criwv_network_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_ 5 #ifndef IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_
6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_ 6 #define IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "components/prefs/pref_service.h" 13 #include "components/prefs/pref_service.h"
14 #include "ios/web/public/browser_state.h" 14 #include "ios/web/public/browser_state.h"
15 15
16 namespace user_prefs { 16 namespace user_prefs {
17 class PrefRegistrySyncable; 17 class PrefRegistrySyncable;
18 } 18 }
19 19
20 namespace ios_web_view { 20 namespace ios_web_view {
21 21
22 class CRIWVURLRequestContextGetter; 22 class CRIWVURLRequestContextGetter;
23 23
24 // CRIWV implementation of BrowserState. Can only be called from the UI thread. 24 // CWV implementation of BrowserState. Can only be called from the UI thread.
25 class CRIWVBrowserState : public web::BrowserState { 25 class CRIWVBrowserState : public web::BrowserState {
26 public: 26 public:
27 explicit CRIWVBrowserState(bool off_the_record); 27 explicit CRIWVBrowserState(bool off_the_record);
28 ~CRIWVBrowserState() override; 28 ~CRIWVBrowserState() override;
29 29
30 // web::BrowserState implementation. 30 // web::BrowserState implementation.
31 bool IsOffTheRecord() const override; 31 bool IsOffTheRecord() const override;
32 base::FilePath GetStatePath() const override; 32 base::FilePath GetStatePath() const override;
33 net::URLRequestContextGetter* GetRequestContext() override; 33 net::URLRequestContextGetter* GetRequestContext() override;
34 34
(...skipping 18 matching lines...) Expand all
53 53
54 // The PrefService associated with this BrowserState. 54 // The PrefService associated with this BrowserState.
55 std::unique_ptr<PrefService> prefs_; 55 std::unique_ptr<PrefService> prefs_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(CRIWVBrowserState); 57 DISALLOW_COPY_AND_ASSIGN(CRIWVBrowserState);
58 }; 58 };
59 59
60 } // namespace ios_web_view 60 } // namespace ios_web_view
61 61
62 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_ 62 #endif // IOS_WEB_VIEW_INTERNAL_CRIWV_BROWSER_STATE_H_
OLDNEW
« no previous file with comments | « ios/web_view/internal/criwv.mm ('k') | ios/web_view/internal/criwv_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698