[GCM] Introduce GCMClientFactory to create GCMClient for GCMProfileService
We used to call GCMClient::Get() to get the single instance. This did not work when we need to pass some initialization data from browser to it. GCMClientFactory is introduced such that GCMClient instance can be created, initialized and used in GCMProfileService::IOWorker. BUG=284553 TEST=existing tests Review URL: https://codereview.chromium.org/135903005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245447 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment