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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.h

Issue 1401813002: Cache User Agent string in BlinkPlatformImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved to FrameLoaderClientImpl Created 5 years, 2 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: third_party/WebKit/Source/web/FrameLoaderClientImpl.h
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.h b/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
index d0b498f7560237c9d2116ffcc48977c335a67cd2..13d24e64bec85fca87c2cc9aadd7d3a3e16499cb 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.h
@@ -185,6 +185,8 @@ private:
// The WebFrame that owns this object and manages its lifetime. Therefore,
// the web frame object is guaranteed to exist.
RawPtrWillBeMember<WebLocalFrameImpl> m_webFrame;
+
+ WebString m_userAgent;
kinuko 2015/10/16 11:12:21 nit: let's just use String in non-Web / boundary c
tzik 2015/10/19 08:16:48 Acknowledged. I moved to this to FrameLoader and
};
DEFINE_TYPE_CASTS(FrameLoaderClientImpl, FrameLoaderClient, client, client->isFrameLoaderClientImpl(), client.isFrameLoaderClientImpl());

Powered by Google App Engine
This is Rietveld 408576698