remove anonymous app id since not needed for analytics
This commit is contained in:
parent
7ea1ef8b0b
commit
5996f038a2
|
@ -11,14 +11,6 @@ function initAppIdService() {
|
||||||
makeAndGetAppId('appId');
|
makeAndGetAppId('appId');
|
||||||
};
|
};
|
||||||
|
|
||||||
AppIdService.prototype.getAnonymousAppId = function (callback) {
|
|
||||||
if (!callback || typeof callback !== 'function') {
|
|
||||||
throw 'callback function required';
|
|
||||||
}
|
|
||||||
|
|
||||||
makeAndGetAppId('anonymousAppId');
|
|
||||||
};
|
|
||||||
|
|
||||||
function makeAndGetAppId(key) {
|
function makeAndGetAppId(key) {
|
||||||
chrome.storage.local.get(key, function (obj) {
|
chrome.storage.local.get(key, function (obj) {
|
||||||
if (obj && obj[key]) {
|
if (obj && obj[key]) {
|
||||||
|
|
Loading…
Reference in New Issue