Commit 36bedb9f authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

[ios] Use chrome_browser_state_forward.h in /ios/chrome/browser/device_sharing

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.

R=erikchen@chromium.org

Bug: 1042208
Change-Id: I9148cc5a2f2ecdfa4d081e27470660b22604f431
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2007640
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: default avatarErik Chen <erikchen@chromium.org>
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#734390}
parent 696979b2
...@@ -7,13 +7,11 @@ ...@@ -7,13 +7,11 @@
#import <Foundation/Foundation.h> #import <Foundation/Foundation.h>
#include "ios/chrome/browser/browser_state/chrome_browser_state_forward.h"
class GURL; class GURL;
@class HandoffManager; @class HandoffManager;
namespace ios {
class ChromeBrowserState;
}
// This manager maintains all state related to sharing the active URL to other // This manager maintains all state related to sharing the active URL to other
// devices. It has the role of a dispatcher that shares the active URL to // devices. It has the role of a dispatcher that shares the active URL to
// various internal sharing services (e.g. handoff). // various internal sharing services (e.g. handoff).
......
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