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

Issue 141063009: Separate access token caching logic from signaling connector. (Closed)

Created:
6 years, 10 months ago by rmsousa
Modified:
6 years, 10 months ago
Reviewers:
Sergey Ulanov
CC:
chromium-reviews, jamiewalch+watch_chromium.org, dcaiafa+watch_chromium.org, hclam+watch_chromium.org, wez+watch_chromium.org, amit, sanjeevr, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, rmsousa+watch_chromium.org, weitaosu+watch_chromium.org, alexeypa+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Separate access token caching logic from signaling connector. Right now signaling connector is the only user of OAuth tokens, but if/when we add more authenticated calls, this will allow them to share the cached access token (so that consecutive authenticated calls from different objects don't need to make separate refreshtoken calls). BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=250351

Patch Set 1 #

Total comments: 20

Patch Set 2 : Reviewer comments #

Total comments: 1

Patch Set 3 : Use ? expression rather than if #

Patch Set 4 : Change C++11 swap() to plain old copy-and-clear. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+292 lines, -151 lines) Patch
A remoting/host/oauth_token_getter.h View 1 1 chunk +95 lines, -0 lines 0 comments Download
A remoting/host/oauth_token_getter.cc View 1 2 3 1 chunk +155 lines, -0 lines 0 comments Download
M remoting/host/remoting_me2me_host.cc View 3 chunks +10 lines, -4 lines 0 comments Download
M remoting/host/signaling_connector.h View 1 3 chunks +12 lines, -47 lines 0 comments Download
M remoting/host/signaling_connector.cc View 1 5 chunks +18 lines, -100 lines 0 comments Download
M remoting/remoting_host.gypi View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
rmsousa
6 years, 10 months ago (2014-02-08 00:59:01 UTC) #1
Sergey Ulanov
https://codereview.chromium.org/141063009/diff/1/remoting/host/oauth_token_getter.cc File remoting/host/oauth_token_getter.cc (right): https://codereview.chromium.org/141063009/diff/1/remoting/host/oauth_token_getter.cc#newcode1 remoting/host/oauth_token_getter.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 10 months ago (2014-02-08 03:16:35 UTC) #2
rmsousa
https://codereview.chromium.org/141063009/diff/1/remoting/host/oauth_token_getter.cc File remoting/host/oauth_token_getter.cc (right): https://codereview.chromium.org/141063009/diff/1/remoting/host/oauth_token_getter.cc#newcode1 remoting/host/oauth_token_getter.cc:1: // Copyright (c) 2012 The Chromium Authors. All rights ...
6 years, 10 months ago (2014-02-10 23:07:39 UTC) #3
Sergey Ulanov
lgtm https://codereview.chromium.org/141063009/diff/100001/remoting/host/oauth_token_getter.cc File remoting/host/oauth_token_getter.cc (right): https://codereview.chromium.org/141063009/diff/100001/remoting/host/oauth_token_getter.cc#newcode137 remoting/host/oauth_token_getter.cc:137: if (oauth_credentials_->is_service_account) { nit: this can be replaced ...
6 years, 10 months ago (2014-02-10 23:24:30 UTC) #4
rmsousa
The CQ bit was checked by rmsousa@chromium.org
6 years, 10 months ago (2014-02-10 23:31:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/141063009/100002
6 years, 10 months ago (2014-02-10 23:33:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/141063009/100002
6 years, 10 months ago (2014-02-10 23:59:20 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-11 01:32:19 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, check_deps2git, ...
6 years, 10 months ago (2014-02-11 01:32:20 UTC) #9
rmsousa
The CQ bit was checked by rmsousa@chromium.org
6 years, 10 months ago (2014-02-11 02:38:11 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rmsousa@chromium.org/141063009/360002
6 years, 10 months ago (2014-02-11 02:40:11 UTC) #11
commit-bot: I haz the power
6 years, 10 months ago (2014-02-11 04:51:57 UTC) #12
Message was sent while issue was closed.
Change committed as 250351

Powered by Google App Engine
This is Rietveld 408576698