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

Unified Diff: content/public/common/content_client.h

Issue 1703163002: Remove dependency on GURL from content/common/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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 side-by-side diff with in-line comments
Download patch
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) {}

Powered by Google App Engine
This is Rietveld 408576698