Chromium Code Reviews| Index: content/public/common/content_client.h |
| diff --git a/content/public/common/content_client.h b/content/public/common/content_client.h |
| index 9d51d5ba83d4cf5a458f84137d963d39063c7c40..374f153a177f4dba3dbeb27903621d80ab15cbb4 100644 |
| --- a/content/public/common/content_client.h |
| +++ b/content/public/common/content_client.h |
| @@ -14,10 +14,9 @@ |
| #include "build/build_config.h" |
| #include "content/common/content_export.h" |
| #include "ui/base/layout.h" |
| +#include "url/gurl.h" |
| #include "url/url_util.h" |
| -class GURL; |
| - |
| namespace base { |
| class RefCountedStaticMemory; |
| } |
| @@ -78,6 +77,7 @@ class CONTENT_EXPORT ContentClient { |
| // Sets the currently active URL. Use GURL() to clear the URL. |
| virtual void SetActiveURL(const GURL& url) {} |
| + void SetActiveURL(const std::string& url); |
|
piman
2016/02/18 18:29:28
nit: avoid overloads, especially with one method v
Mark Dittmer
2016/02/19 14:58:45
Refactored call into SetActiveURL to plumb through
|
| // Sets the data on the current gpu. |
| virtual void SetGpuInfo(const gpu::GPUInfo& gpu_info) {} |