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

Side by Side Diff: ios/public/provider/chrome/browser/browser_state/chrome_browser_state.cc

Issue 777183002: Upstream iOS web API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years 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/public/provider/chrome/browser/DEPS ('k') | ios/public/provider/web/web_state.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 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state. h" 5 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state. h"
6 6
7 #include "ios/public/provider/web/web_state.h"
8
9 namespace ios { 7 namespace ios {
10 8
11 // static 9 // static
12 ChromeBrowserState* ChromeBrowserState::FromBrowserState( 10 ChromeBrowserState* ChromeBrowserState::FromBrowserState(
13 web::BrowserState* browser_state) { 11 web::BrowserState* browser_state) {
14 // This is safe; this is the only implementation of BrowserState. 12 // This is safe; this is the only implementation of BrowserState.
15 return static_cast<ChromeBrowserState*>(browser_state); 13 return static_cast<ChromeBrowserState*>(browser_state);
16 } 14 }
17 15
18 } // namespace ios 16 } // namespace ios
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/DEPS ('k') | ios/public/provider/web/web_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698