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

Issue 186883002: Move user_agent code from webkit/ to content/. (Closed)

Created:
6 years, 9 months ago by tfarina
Modified:
6 years, 9 months ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, tzik, kinuko+watch, aandrey+blink_chromium.org, stevenjb+watch_chromium.org, jsbell+serviceworker_chromium.org, vsevik, joi+watch-content_chromium.org, darin-cc_chromium.org, jochen+watch_chromium.org, devtools-reviews_chromium.org, chromium-apps-reviews_chromium.org, android-webview-reviews_chromium.org, nhiroki, paulirish+reviews_chromium.org, oshima+watch_chromium.org, alecflett+watch_chromium.org, tfarina, serviceworker-reviews, yurys, davemoore+watch_chromium.org, horo+watch_chromium.org, pfeldman
Visibility:
Public.

Description

Move user_agent code from webkit/ to content/. BUG=265753, 338338, 237249 TEST=content_unittests R=jam@chromium.org TBR=darin Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=256174

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : ios #

Patch Set 5 : webkit_version fix #

Patch Set 6 : #

Total comments: 8

Patch Set 7 : link content_unittests #

Patch Set 8 : remove SetUserAgent from content/public #

Patch Set 9 : remove user_agent_util #

Patch Set 10 : link chrome #

Total comments: 9

Patch Set 11 : review #

Total comments: 1

Patch Set 12 : revert 1 #

Patch Set 13 : REBASED #

Patch Set 14 : cleanups after rebase #

Patch Set 15 : rm GURL forward declaration #

Patch Set 16 : fixes #

Patch Set 17 : rm user_agent.h includes #

Total comments: 2

Patch Set 18 : REBASED #

Patch Set 19 : rm build directory #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -591 lines) Patch
M android_webview/common/aw_content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M android_webview/native/aw_dev_tools_server.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -3 lines 0 comments Download
M android_webview/native/webview_native.gyp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M apps/shell/common/shell_content_client.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/dev_tools_server.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_integration_service.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/feedback/feedback_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_commands.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -4 lines 0 comments Download
M chrome/browser/ui/webui/help/help_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/version_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +1 line, -1 line 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/chrome_content_client_ios.mm View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M components/autofill/content/browser/risk/fingerprint.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/android/content_view_core_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/devtools/devtools_http_handler_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +3 lines, -2 lines 0 comments Download
M content/child/blink_platform_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -4 lines 0 comments Download
M content/child/npapi/plugin_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
A + content/common/user_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +30 lines, -25 lines 0 comments Download
A + content/common/user_agent_ios.mm View 1 2 3 4 5 6 7 8 3 chunks +11 lines, -12 lines 0 comments Download
M content/content.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +38 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +12 lines, -3 lines 0 comments Download
M content/content_shell.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +1 line, -2 lines 0 comments Download
M content/public/common/content_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
A + content/public/common/user_agent.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +15 lines, -16 lines 0 comments Download
M content/renderer/pepper/pepper_url_request_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M content/shell/browser/shell_devtools_delegate.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -3 lines 0 comments Download
M content/shell/common/shell_content_client.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M content/test/webkit_support.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A + content/webkit_version.h.in View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 0 chunks +-1 lines, --1 lines 0 comments Download
D webkit/build/webkit_version.h.in View 1 2 1 chunk +0 lines, -9 lines 0 comments Download
M webkit/child/webkit_child.gyp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D webkit/common/user_agent/user_agent_util.h View 1 chunk +0 lines, -40 lines 0 comments Download
D webkit/common/user_agent/user_agent_util.cc View 1 chunk +0 lines, -192 lines 0 comments Download
D webkit/common/user_agent/user_agent_util_ios.mm View 1 chunk +0 lines, -130 lines 0 comments Download
D webkit/common/user_agent/webkit_user_agent.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -86 lines 0 comments Download
D webkit/common/user_agent/webkit_user_agent_export.h View 1 2 1 chunk +0 lines, -29 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
tfarina
6 years, 9 months ago (2014-03-04 19:21:43 UTC) #1
jam
https://codereview.chromium.org/186883002/diff/90001/content/public/common/content_client.cc File content/public/common/content_client.cc (right): https://codereview.chromium.org/186883002/diff/90001/content/public/common/content_client.cc#newcode44 content/public/common/content_client.cc:44: SetUserAgent(client->GetUserAgent(), false); this isn't needed anymore either since the ...
6 years, 9 months ago (2014-03-04 20:49:44 UTC) #2
tfarina
https://codereview.chromium.org/186883002/diff/90001/content/public/common/content_client.h File content/public/common/content_client.h (right): https://codereview.chromium.org/186883002/diff/90001/content/public/common/content_client.h#newcode76 content/public/common/content_client.h:76: CONTENT_EXPORT const std::string& GetUserAgent(const GURL& url); On 2014/03/04 20:49:45, ...
6 years, 9 months ago (2014-03-04 21:49:37 UTC) #3
tfarina
https://codereview.chromium.org/186883002/diff/90001/content/public/common/content_client.cc File content/public/common/content_client.cc (right): https://codereview.chromium.org/186883002/diff/90001/content/public/common/content_client.cc#newcode44 content/public/common/content_client.cc:44: SetUserAgent(client->GetUserAgent(), false); On 2014/03/04 20:49:45, jam wrote: > this ...
6 years, 9 months ago (2014-03-04 22:07:19 UTC) #4
jam
https://codereview.chromium.org/186883002/diff/160001/content/common/user_agent_internal.h File content/common/user_agent_internal.h (right): https://codereview.chromium.org/186883002/diff/160001/content/common/user_agent_internal.h#newcode16 content/common/user_agent_internal.h:16: void SetUserAgent(const std::string& user_agent, bool overriding); so looking at ...
6 years, 9 months ago (2014-03-05 00:09:26 UTC) #5
tfarina
https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc File content/public/common/content_client.cc (left): https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc#oldcode44 content/public/common/content_client.cc:44: webkit_glue::SetUserAgent(client->GetUserAgent(), false); On 2014/03/05 00:09:26, jam wrote: > i ...
6 years, 9 months ago (2014-03-05 00:22:10 UTC) #6
tfarina
https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc File content/public/common/content_client.cc (right): https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc#newcode9 content/public/common/content_client.cc:9: #include "content/public/common/user_agent.h" On 2014/03/05 00:09:26, jam wrote: > nit: ...
6 years, 9 months ago (2014-03-05 00:42:51 UTC) #7
jam
https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc File content/public/common/content_client.cc (left): https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc#oldcode44 content/public/common/content_client.cc:44: webkit_glue::SetUserAgent(client->GetUserAgent(), false); On 2014/03/05 00:22:11, tfarina wrote: > On ...
6 years, 9 months ago (2014-03-05 08:34:55 UTC) #8
tfarina
https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc File content/public/common/content_client.cc (left): https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc#oldcode44 content/public/common/content_client.cc:44: webkit_glue::SetUserAgent(client->GetUserAgent(), false); On 2014/03/05 08:34:56, jam wrote: > On ...
6 years, 9 months ago (2014-03-05 13:31:55 UTC) #9
tfarina
John, can we do these simplifications in a follow-up?
6 years, 9 months ago (2014-03-06 01:55:12 UTC) #10
jam
On 2014/03/05 13:31:55, tfarina wrote: > https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc > File content/public/common/content_client.cc (left): > > https://codereview.chromium.org/186883002/diff/160001/content/public/common/content_client.cc#oldcode44 > ...
6 years, 9 months ago (2014-03-06 02:49:49 UTC) #11
tfarina
John, I have merged with your changes. PTAL!
6 years, 9 months ago (2014-03-10 00:25:49 UTC) #12
jam
lgtm https://codereview.chromium.org/186883002/diff/290001/content/build/webkit_version.h.in File content/build/webkit_version.h.in (right): https://codereview.chromium.org/186883002/diff/290001/content/build/webkit_version.h.in#newcode1 content/build/webkit_version.h.in:1: // Copyright 2013 The Chromium Authors. All rights ...
6 years, 9 months ago (2014-03-10 20:24:46 UTC) #13
tfarina
https://codereview.chromium.org/186883002/diff/290001/content/build/webkit_version.h.in File content/build/webkit_version.h.in (right): https://codereview.chromium.org/186883002/diff/290001/content/build/webkit_version.h.in#newcode1 content/build/webkit_version.h.in:1: // Copyright 2013 The Chromium Authors. All rights reserved. ...
6 years, 9 months ago (2014-03-10 22:41:14 UTC) #14
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 9 months ago (2014-03-10 22:42:22 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/186883002/320001
6 years, 9 months ago (2014-03-10 23:06:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/186883002/320001
6 years, 9 months ago (2014-03-10 23:59:04 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-11 01:03:55 UTC) #18
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=54535
6 years, 9 months ago (2014-03-11 01:03:56 UTC) #19
tfarina
TBRing Darin for the rest.
6 years, 9 months ago (2014-03-11 02:13:28 UTC) #20
tfarina
The CQ bit was checked by tfarina@chromium.org
6 years, 9 months ago (2014-03-11 02:14:30 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/186883002/320001
6 years, 9 months ago (2014-03-11 02:16:36 UTC) #22
commit-bot: I haz the power
6 years, 9 months ago (2014-03-11 09:57:30 UTC) #23
Message was sent while issue was closed.
Change committed as 256174

Powered by Google App Engine
This is Rietveld 408576698