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

Issue 2661153003: Moving oauth code from host to base to allow code sharing between host and client. (Closed)

Created:
3 years, 10 months ago by nicholss
Modified:
3 years, 10 months ago
CC:
chromium-reviews, chromoting-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Moving oauth code from host to base to allow code sharing between host and client. BUG=652781 +rogerta@ for '+google_apis', DEPS change. Review-Url: https://codereview.chromium.org/2661153003 Cr-Commit-Position: refs/heads/master@{#447878} Committed: https://chromium.googlesource.com/chromium/src/+/f620a47cade760e6047bcaff139d12376f2f1014

Patch Set 1 #

Total comments: 10

Patch Set 2 : Correcting minor mistakes found in CL. #

Total comments: 1

Patch Set 3 : Changing CRD_LOG to VLOG(1). #

Total comments: 4

Patch Set 4 : Able to remove goole_apis include from host/win. Rest are valid includes still. #

Patch Set 5 : Merge branch 'master' into auth_token #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -991 lines) Patch
M remoting/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M remoting/base/BUILD.gn View 1 3 chunks +52 lines, -6 lines 0 comments Download
M remoting/base/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A + remoting/base/fake_oauth_token_getter.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + remoting/base/fake_oauth_token_getter.cc View 2 chunks +3 lines, -5 lines 0 comments Download
A + remoting/base/gaia_oauth_client.h View 3 chunks +4 lines, -4 lines 0 comments Download
A + remoting/base/gaia_oauth_client.cc View 3 chunks +4 lines, -7 lines 0 comments Download
M remoting/base/logging.h View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A + remoting/base/mock_oauth_client.h View 2 chunks +4 lines, -4 lines 0 comments Download
A + remoting/base/mock_oauth_client.cc View 1 chunk +3 lines, -5 lines 0 comments Download
A + remoting/base/oauth_client.h View 3 chunks +6 lines, -6 lines 0 comments Download
A + remoting/base/oauth_helper.h View 2 chunks +3 lines, -3 lines 0 comments Download
A + remoting/base/oauth_helper.cc View 3 chunks +9 lines, -10 lines 0 comments Download
A + remoting/base/oauth_helper_unittest.cc View 4 chunks +9 lines, -8 lines 0 comments Download
A + remoting/base/oauth_token_getter.h View 3 chunks +5 lines, -4 lines 0 comments Download
A + remoting/base/oauth_token_getter.cc View 2 chunks +2 lines, -3 lines 0 comments Download
A + remoting/base/oauth_token_getter_impl.h View 3 chunks +4 lines, -4 lines 0 comments Download
A + remoting/base/oauth_token_getter_impl.cc View 1 2 5 chunks +8 lines, -8 lines 0 comments Download
M remoting/host/BUILD.gn View 1 2 3 6 chunks +6 lines, -10 lines 0 comments Download
D remoting/host/fake_oauth_token_getter.h View 1 chunk +0 lines, -34 lines 0 comments Download
D remoting/host/fake_oauth_token_getter.cc View 1 chunk +0 lines, -33 lines 0 comments Download
M remoting/host/gcd_rest_client.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/gcd_rest_client_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/gcd_state_updater_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D remoting/host/oauth_token_getter.h View 1 chunk +0 lines, -68 lines 0 comments Download
D remoting/host/oauth_token_getter.cc View 1 chunk +0 lines, -18 lines 0 comments Download
D remoting/host/oauth_token_getter_impl.h View 1 chunk +0 lines, -69 lines 0 comments Download
D remoting/host/oauth_token_getter_impl.cc View 1 chunk +0 lines, -181 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M remoting/host/setup/BUILD.gn View 1 2 chunks +1 line, -5 lines 0 comments Download
D remoting/host/setup/gaia_oauth_client.h View 1 chunk +0 lines, -81 lines 0 comments Download
D remoting/host/setup/gaia_oauth_client.cc View 1 chunk +0 lines, -102 lines 0 comments Download
M remoting/host/setup/host_starter.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/setup/me2me_native_messaging_host.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/setup/me2me_native_messaging_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/setup/me2me_native_messaging_host_main.cc View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M remoting/host/setup/me2me_native_messaging_host_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
D remoting/host/setup/mock_oauth_client.h View 1 chunk +0 lines, -32 lines 0 comments Download
D remoting/host/setup/mock_oauth_client.cc View 1 chunk +0 lines, -25 lines 0 comments Download
D remoting/host/setup/oauth_client.h View 1 chunk +0 lines, -45 lines 0 comments Download
D remoting/host/setup/oauth_helper.h View 1 chunk +0 lines, -33 lines 0 comments Download
D remoting/host/setup/oauth_helper.cc View 1 chunk +0 lines, -80 lines 0 comments Download
D remoting/host/setup/oauth_helper_unittest.cc View 1 chunk +0 lines, -77 lines 0 comments Download
M remoting/host/setup/start_host_main.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/setup/win/auth_code_getter.cc View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/signaling_connector.h View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/win/BUILD.gn View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 39 (24 generated)
nicholss
The majority of work here is just moving the oauth related files into a common ...
3 years, 10 months ago (2017-01-31 16:44:58 UTC) #3
nicholss
PTAL
3 years, 10 months ago (2017-01-31 16:45:10 UTC) #4
Sergey Ulanov
LGTM after my comment is addressed https://codereview.chromium.org/2661153003/diff/20001/remoting/base/logging.h File remoting/base/logging.h (right): https://codereview.chromium.org/2661153003/diff/20001/remoting/base/logging.h#newcode17 remoting/base/logging.h:17: #define CRD_LOG LOG(INFO) ...
3 years, 10 months ago (2017-02-02 01:55:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661153003/40001
3 years, 10 months ago (2017-02-02 17:18:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/355548)
3 years, 10 months ago (2017-02-02 17:24:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661153003/40001
3 years, 10 months ago (2017-02-02 17:46:42 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/355566)
3 years, 10 months ago (2017-02-02 17:53:11 UTC) #18
Roger Tawa OOO till Jul 10th
Do you still need the google_apis deps in //remoting/host/DEPS? https://codereview.chromium.org/2661153003/diff/40001/remoting/host/BUILD.gn File remoting/host/BUILD.gn (right): https://codereview.chromium.org/2661153003/diff/40001/remoting/host/BUILD.gn#newcode311 remoting/host/BUILD.gn:311: ...
3 years, 10 months ago (2017-02-02 19:09:59 UTC) #21
Sergey Ulanov
On Thu, Feb 2, 2017 at 11:09 AM, <rogerta@chromium.org> wrote: > Do you still need ...
3 years, 10 months ago (2017-02-02 19:31:50 UTC) #22
nicholss
The includes for google_apis is still valid in remoting/host. I am still working on abstracting ...
3 years, 10 months ago (2017-02-02 19:41:45 UTC) #23
Roger Tawa OOO till Jul 10th
lgtm Thanks for explanation.
3 years, 10 months ago (2017-02-02 20:59:37 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661153003/60001
3 years, 10 months ago (2017-02-02 21:35:04 UTC) #31
commit-bot: I haz the power
Failed to apply patch for remoting/host/win/BUILD.gn: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-02 21:41:11 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2661153003/80001
3 years, 10 months ago (2017-02-02 22:15:48 UTC) #36
commit-bot: I haz the power
3 years, 10 months ago (2017-02-02 23:39:45 UTC) #39
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/f620a47cade760e6047bcaff139d...

Powered by Google App Engine
This is Rietveld 408576698