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

Unified Diff: ios/web/public/browser_state.h

Issue 964403002: Upstream BrowserState::GetStatePath() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix client code Created 5 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/public/browser_state.h
diff --git a/ios/web/public/browser_state.h b/ios/web/public/browser_state.h
index 0a3c1311396cf4699c03d2f2bf57c317b9820f63..b4f2aded9754f0502e3cb795de46c7e2f5425fd5 100644
--- a/ios/web/public/browser_state.h
+++ b/ios/web/public/browser_state.h
@@ -28,7 +28,9 @@ class BrowserState : public base::SupportsUserData {
virtual bool IsOffTheRecord() const = 0;
// Returns the path where the BrowserState data is stored.
- virtual base::FilePath GetPath() const = 0;
+ // Unlike Profile::GetPath(), incognito BrowserState do not share their path
+ // with their original BrowserState.
+ virtual base::FilePath GetStatePath() const = 0;
// Returns the request context information associated with this
// BrowserState.
« no previous file with comments | « ios/chrome/browser/suggestions/suggestions_service_factory.mm ('k') | ios/web/public/test/test_browser_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698