| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kPrivacyModeDisabled => PRIVACY_MODE_DISABLED
kPrivacyModeEnabled => PRIVACY_MODE_ENABLED
To match the chromium style guide:
Though the Google C++ Style Guide now says to use kConstantNaming for enums,
Chromium was written using MACRO_STYLE naming. Continue to use this style for consistency.
R=mef@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260281
Review URL: https://codereview.chromium.org/215023002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260729 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Canary connection attempts occur on network changes, and are capable of
bypassing backoff (without resetting it). As such they happen immediately
if no connection attempt is already in progress, but if they fail backoff
will be increased accordingly.
BUG=355126
R=asvitkine@chromium.org, jianli@chromium.org
Review URL: https://codereview.chromium.org/213693002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260308 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(https://codereview.chromium.org/215023002/)
Reason for revert:
Broke build.
http://build.chromium.org/p/chromium.linux/builders/Linux%20Builder%20%28dbg%29/builds/71042/steps/compile/logs/stdio#error1
Original issue's description:
> Rename PrivateMode enum values:
>
> kPrivacyModeDisabled => PRIVACY_MODE_DISABLED
> kPrivacyModeEnabled => PRIVACY_MODE_ENABLED
>
> To match the chromium style guide:
>
> Though the Google C++ Style Guide now says to use kConstantNaming for enums,
> Chromium was written using MACRO_STYLE naming. Continue to use this style for consistency.
>
> R=mef@chromium.org
>
> Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260281
TBR=mef@chromium.org,zea@chromium.org
NOTREECHECKS=true
NOTRY=true
Review URL: https://codereview.chromium.org/217053010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260296 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kPrivacyModeDisabled => PRIVACY_MODE_DISABLED
kPrivacyModeEnabled => PRIVACY_MODE_ENABLED
To match the chromium style guide:
Though the Google C++ Style Guide now says to use kConstantNaming for enums,
Chromium was written using MACRO_STYLE naming. Continue to use this style for consistency.
R=mef@chromium.org
Review URL: https://codereview.chromium.org/215023002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260281 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change does not fix the bug, just a preparation for the actual fix.
No behavior change is intended.
Return cancel closure from DownloadOperation and FileSystem.
Change user code (SyncClient and DriveFileStreamReader) to use the returned closure.
BUG=344789
TEST=unit_tests
Review URL: https://codereview.chromium.org/214363002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260184 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
To implement FakeDriveService without GData WAPI classes.
BUG=334544
TEST=unit_tests
Review URL: https://codereview.chromium.org/216433002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@260182 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For //content/port and //content/public, specifying avi@ as an OWNER even though he is also in the higher-level OWNERS file, as he is the remaining intended reviewer (rather than jam@) for less involved changes to the API, as specified in the comments in those files.
Removing a comment about CCing myself and erikwright@ from the android_webview file as dependencies there have already been fixed.
TBR=darin@chromium.org
NOTRY=true
BUG=none
Review URL: https://codereview.chromium.org/213113007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259977 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Found by a tweaked -Wunused-member-function Nuno Lopes is working on.
BUG=none
R=brettw@chromium.org, miket@chromium.org, rsleevi@chromium.org, sky@chromium.org
TBR=rogerta, sky
Review URL: https://codereview.chromium.org/213363003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259767 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Connection factory assumes that the mcs client (in the form of RequestBuilder
callback) is still alive, which can result in DCHECKs if not true.
Also refactors GCMClientImpl testing to make this testable.
BUG=354344
Review URL: https://codereview.chromium.org/208333006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259405 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Alternate between the default (5228) endpoint and the fallback (443) endpoint.
Also introduce histograms for tracking endpoint and proxy success rate.
Relanding due to compile issue.
Original review: https://codereview.chromium.org/205343003/
BUG=351890
TBR=jianli@chromium.org, fgorski@chromium.org, asvitkine@chromium.org
Review URL: https://codereview.chromium.org/206873006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258997 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This broke linux Clang compile.
gcm_tools_mcs_probe.cc line 294
> [GCM] Add port 443 fallback logic and histograms
>
> Alternate between the default (5228) endpoint and the fallback (443) endpoint.
> Also introduce histograms for tracking endpoint and proxy success rate.
>
> BUG=351890
>
> Review URL: https://codereview.chromium.org/205343003
TBR=zea@chromium.org
Review URL: https://codereview.chromium.org/209343002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258735 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Never mind, it was the other gcm related CL the 258720 one.
> Revert 258713 "Disable GCMClientImplTest.RegisterAppFromCache"
>
> Compile break on Linux Clang at gcm_client_impl_unittest
> gcm_tools_mcs_probe.cc line 294
>
>
> > Disable GCMClientImplTest.RegisterAppFromCache
> >
> > TBR=zea@chromium.org
> >
> > Review URL: https://codereview.chromium.org/209293002
>
> R=luken@chromium.org
> TBR=jianli@chromium.org
>
> Review URL: https://codereview.chromium.org/208333010
TBR=cpu@chromium.org
Review URL: https://codereview.chromium.org/196173012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258734 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Compile break on Linux Clang at gcm_client_impl_unittest
gcm_tools_mcs_probe.cc line 294
> Disable GCMClientImplTest.RegisterAppFromCache
>
> TBR=zea@chromium.org
>
> Review URL: https://codereview.chromium.org/209293002
R=luken@chromium.org
TBR=jianli@chromium.org
Review URL: https://codereview.chromium.org/208333010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258732 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Alternate between the default (5228) endpoint and the fallback (443) endpoint.
Also introduce histograms for tracking endpoint and proxy success rate.
BUG=351890
Review URL: https://codereview.chromium.org/205343003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258720 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
TBR=zea@chromium.org
Review URL: https://codereview.chromium.org/209293002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258713 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
TBR=vandebo@chromium.org
BUG=
Review URL: https://codereview.chromium.org/209183002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258709 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the effort decouple the extension specific logic from
GCMProfileService.
Also remove the code to persist user serial number mappings since
it is not needed any more.
BUG=343268
TEST=tests updated
Review URL: https://codereview.chromium.org/207443002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258706 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
An infinite loop of proxy retries could result due to ignoring the error code
returned by the fallback code. We now just fail synchronously.
BUG=353739
Review URL: https://codereview.chromium.org/196573036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258116 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Updating the gcm.json to include chrome.gcm.unregister
* Modifying UnregistrationRequest to return proper Status
* Modifying callbacks to properly carry status up the stack as
GCMClient::Result
* Making GCMProfileService.Unregister function public.
* Adding tests for chrome.gcm.unregister
* Adding test for GCMProfileService.Unregister
BUG=351006
Review URL: https://codereview.chromium.org/196133002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257888 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This never got turned on.
BUG=350213
TBR=darin@chromium.org
Review URL: https://codereview.chromium.org/190063004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257754 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=346399
TEST=none
R=mtomasz@chromium.org, rogerta@chromium.org
Review URL: https://codereview.chromium.org/203033002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Joi suggested doing this rename in a follow up CL (
https://codereview.chromium.org/183953005/diff/20001/components/encryptor/encryptor_password_mac.h#newcode16).
So here it is.
BUG=341293
TEST=None, no functional changes.
R=joi@chromium.org,thestig@chromium.org,bcwhite@chromium.org
Review URL: https://codereview.chromium.org/200713005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257573 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=353363
TEST=Manual test by following repro steps
R=zea@chromium.org
Review URL: https://codereview.chromium.org/200763009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257546 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating a locally edited entry with an older change results in unnecessarily overwriting users' edit.
Add "modificationDate" field to ChangeResource. (Corresponding API documentation: https://developers.google.com/drive/v2/reference/changes#resource)
Request "modificationDate"
Use "modificationDate" for conflict resolution in ChangeListProcessor.
BUG=350398
Review URL: https://codereview.chromium.org/199343004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257384 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GCM will use the proxy resolver associated with the current network session
to resolve proxies. There is no direct fallback at the moment, so if a proxy
resolution completes, but doesn't handle the data properly (because it's
intercepting/mangling the response), connections will fail.
Direct fallback, and attempting alternate ports, will be introduced in a later
patch.
BUG=351889
TBR=jianli@chromium.org
Review URL: https://codereview.chromium.org/197473008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@257023 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL add a factory method to create access token fetchers in the
OAuth2 token service. This allows subclasses to create specific access
token fetchers and re-use the OAuth2 caching logic without duplicating
the code.
TBR=atwilson, blundell, gene
BUG=320625
Review URL: https://codereview.chromium.org/193043002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256816 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no reason why one would want to switch to alternate OAuth
scopes, because these are identifiers and not URLs to make requests
to.
BUG=chromium:350299
TBR=bauerb@chromium.org
Review URL: https://codereview.chromium.org/190353002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256541 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
OnSendError allows to specify more message content than simply and error message
and message ID, but it currently is ignored. This patch fixes that problem by
introducing SendErrorDetails structure and updating the whole stack to handle it
properly.
BUG=350026
Review URL: https://codereview.chromium.org/191443002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256187 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
OWNER reviewer: arv
BUG=341256
Review URL: https://codereview.chromium.org/176823009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255692 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
send messages to it.
* GCMProfileService adds a check that the app is currently registered for the sender_id of the sender that sent the message
* IncomingMessage is extended to add sender_id
* GCMClientImpl adds the sender_id to the incoming message in the handling code.
* Adding a test verifying that messages are not delivered when not registered for senders
* fixing the GCM Profile Service tests that were previously not registering for senders before delivering messages
* Also: moving the DCHECKS in the GCMClientImpl::HandleIncomingMessage higher up to run them as soon as the checks values are available.
This CL obsoletes https://codereview.chromium.org/185933003/
BUG=344665
Review URL: https://codereview.chromium.org/185133008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255483 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
R=viettrungluu@chromium.org
TBR=viettrungluu
Review URL: https://codereview.chromium.org/184563006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255418 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
We also remove cert from the registration request.
BUG=345413
TEST=tests updated
R=fgorski@chromium.org, tim@chromium.org, zea@chromium.org
Review URL: https://codereview.chromium.org/179043005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255136 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This CL extracts the interface of OAuth2AccessTokenFetcher as the
implementation for mobile is different .
It renames the existing OAuth2AccessTokenFetcher to
OAuth2AccessTokenFetcherImpl.
TBR=davemoore@chromium.org
BUG=NONE
Review URL: https://codereview.chromium.org/182573003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254966 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=348642
TEST=new tests added
R=dimich@chromium.org, fgorski@chromium.org, tim@chromium.org
Review URL: https://codereview.chromium.org/183013007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254893 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
BUG=348465
Review URL: https://codereview.chromium.org/185723004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254738 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=viettrungluu@chromium.org, viettrungluu
Review URL: https://codereview.chromium.org/183853011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254521 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It turns out that some of the Error="*" responses come as HTTP_OK, and some not. Given that check for HTTP_OK was done before response was parsed, we were missing some of the error conditions, including INVALID_SENDER and retrying assuming UNKNOWN_ERROR.
The problem was already partially mitigated by failing after sever attempts, but with this fix we will actually start seeing the INVALID_SENDER response.
Semantics of the HTTP_NOT_OK result was updated to distinguish it from UNKNOWN_ERROR in the following way:
* if we have HTTP_OK but cannot parse token or error, we return UNKNOWN_ERROR,
* if we don't have HTTP_OK an cannot parse error, we return HTTP_NOT_OK.
Also updating the string comparisons in GetStatusFromError to use find instead of ==, to make sure that if there is more content in response, we can parse the error.
BUG=345408
Review URL: https://codereview.chromium.org/181743004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254282 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The initial API definition omitted collapse key support for downstream messages.
This patch adds the collapseKey property to the message parameter of
chrome.gcm.onMessage event, as well as collapse_key to gcm::GCMClient::IncomingMessage.
Tests on both API and GCMProfileService level were updated.
BUG=346855
Review URL: https://codereview.chromium.org/182483002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254235 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To avoid confusion with the Encryptor class that exists under crypto/.
BUG=341293
TEST=None
R=joi@chromium.org,bcwhite@chromium.org
TBR=thestig
Review URL: https://codereview.chromium.org/183953005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254177 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Remove self_link_, download_url_, embed_link_, thumbnail_link_ and web_content_link_ from FileResource.
BUG=347871
TEST=unit_tests
Review URL: https://codereview.chromium.org/184193003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254142 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Drive server seems to show the best performance when returning entries with a number of multiples of 100
BUG=347871
TEST=unit_tests
Review URL: https://codereview.chromium.org/182823003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254141 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We now always create GCMProfileService that listens to profile
notifications such that GCM checkout logic could be invoked when the
profile is signed out.
We now move the GCM check-in logic from GCMClient::Initialize to GCMClient::CheckIn.
BUG=344031
TEST=new tests added and existing tests updated
Review URL: https://codereview.chromium.org/165993005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253787 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
R=rogerta@chromium.org
TBR=gene@chromium.org, mnissler@chromium.org, haitaol@chromium.org
BUG=none
Review URL: https://codereview.chromium.org/130613008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253745 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
When a Chrome app issues a registration, that operation might be looping endlessly, when an error is recoverable. If meanwhile app wants to issue another registration (perhaps with a different set of senders) it will always be receiving and error (asynchronous operation pending) without a chance to cancel.
The update is going to allow the registraiton to fail, after a 6 attempts (1 initial attempt + 5 retries). That approach ensures that applications follow an exponential backoff policy and have a chance to issue a new registration request after a period of time.
BUG=344010
Review URL: https://codereview.chromium.org/180113005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253739 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
scoped_ptr_malloc is deprecated; let's get rid of it.
BUG=344245
R=brettw@chromium.org
TBR=rsleevi@chromium.org,miket@chromium.org,ryanmyers@chromium.org,dalecurtis@chromium.org, cpu@chromium.org
Review URL: https://codereview.chromium.org/169193002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253582 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=284553
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252218
Review URL: https://codereview.chromium.org/165903002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253460 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old code handled asynchronous system salt loading in the factory
code, which made the Service a PITA to use. This change rewrites
DeviceOauth2TokenService to fold all asynchronous operations into
regular OAuth2TokenService implementation behavior, which is already
set up with Observers and callbacks already. Also, this change
improves the code to only perform validation once, even if there are
multiple concurrent token requests.
BUG=chromium:269455
TEST=Existing unit tests.
TBR=rogerta@chromium.org
Review URL: https://codereview.chromium.org/159773003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253453 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem:
It seems that consecutive calls to base::Time::Now().ToInternalValue() might
yield the same outcome multiple times in a row, which is not suitable for
producing unique IDs for testing.
Fix:
Persist a starting value based on current time and then increment it with
every call.
BUG=345118
R=zea@chromium.org
Review URL: https://codereview.chromium.org/177243007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253229 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Redundant ids (those already acknowledged) are now supported during a stream
ack. Additionally, id order is no longer assumed.
BUG=343974
R=fgorski@chromium.org
Review URL: https://codereview.chromium.org/173713009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@253228 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to bind device id (profile specific) to accounts running in that
profile. For that reason we are grabbing all of the accounts as tracked
by the ProfileOAuth2TokenService and pass them to Initialize method of
GCMClientImpl. The list of accounts is then passed to CheckinRequest when
the request is happening.
Once the CheckinRequest is done more often than simply on login, we may want
to give a more updated list of accounts than the one present on startup of
Chromium. For now there is no reason to handle that case.
BUG=343203
Review URL: https://codereview.chromium.org/171513004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252759 0039d316-1c4b-4281-b951-d872f2087c98
|