Commit 7186bcef authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

[ios] Use chrome_browser_state_forward.h in /ios/public/provider/chrome/browser/signin

Instead of forward declaring ChromeBrowserState in the ios
namespace, use a header. This will allow moving the class
to the global namespace without having to change all the
forward declaration at the same time.

This CL was uploaded by git cl split.

Bug: 1042208
Change-Id: Ib442aa79586586b2495dec1df11497713ee7e442
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2011800
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734422}
parent 41ddba12
...@@ -20,6 +20,7 @@ source_set("signin") { ...@@ -20,6 +20,7 @@ source_set("signin") {
deps = [ deps = [
"//base", "//base",
"//google_apis", "//google_apis",
"//ios/chrome/browser/browser_state:forward",
] ]
} }
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include "base/macros.h" #include "base/macros.h"
#include "base/observer_list.h" #include "base/observer_list.h"
#include "ios/chrome/browser/browser_state/chrome_browser_state_forward.h"
@class ChromeIdentity; @class ChromeIdentity;
@protocol ChromeIdentityBrowserOpener; @protocol ChromeIdentityBrowserOpener;
...@@ -29,7 +30,6 @@ ...@@ -29,7 +30,6 @@
namespace ios { namespace ios {
class ChromeBrowserState;
class ChromeIdentityService; class ChromeIdentityService;
// Callback passed to method |GetAccessTokenForScopes()| that returns the // Callback passed to method |GetAccessTokenForScopes()| that returns the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment