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

Unified Diff: ios/chrome/browser/ui/browser_otr_state.mm

Issue 2615433002: Remove ChromeBrowserProvider::IsOffTheRecordSessionActive(). (Closed)
Patch Set: Address comment. Created 3 years, 11 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/chrome/browser/ui/browser_otr_state.mm
diff --git a/ios/chrome/browser/ui/browser_otr_state.mm b/ios/chrome/browser/ui/browser_otr_state.mm
deleted file mode 100644
index 9431105c121484e4b71cf54cb52f12ebbcdb01e3..0000000000000000000000000000000000000000
--- a/ios/chrome/browser/ui/browser_otr_state.mm
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ios/chrome/browser/ui/browser_otr_state.h"
-
-#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
-
-#if !defined(__has_feature) || !__has_feature(objc_arc)
-#error "This file requires ARC support."
-#endif
-
-bool IsOffTheRecordSessionActive() {
- ios::ChromeBrowserProvider* chrome_browser_provider =
- ios::GetChromeBrowserProvider();
- return chrome_browser_provider &&
- chrome_browser_provider->IsOffTheRecordSessionActive();
-}
« no previous file with comments | « ios/chrome/browser/ui/browser_otr_state.h ('k') | ios/public/provider/chrome/browser/chrome_browser_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698