Commit 1839ca56 authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

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

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=mahmadi@chromium.org

Bug: 1042208
Change-Id: I01d3540bee98e66b436e82135179f05dddc6ee5e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2007745
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: default avatarMoe Ahmadi <mahmadi@chromium.org>
Commit-Queue: Moe Ahmadi <mahmadi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#733699}
parent 6f2c4425
...@@ -7,9 +7,7 @@ ...@@ -7,9 +7,7 @@
#include <memory> #include <memory>
namespace ios { #include "ios/chrome/browser/browser_state/chrome_browser_state_forward.h"
class ChromeBrowserState;
}
namespace ntp_tiles { namespace ntp_tiles {
class MostVisitedSites; class MostVisitedSites;
......
...@@ -7,9 +7,7 @@ ...@@ -7,9 +7,7 @@
#include <memory> #include <memory>
namespace ios { #include "ios/chrome/browser/browser_state/chrome_browser_state_forward.h"
class ChromeBrowserState;
}
namespace ntp_tiles { namespace ntp_tiles {
class PopularSites; class PopularSites;
......
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