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

Issue 8727024: Save the oauth client id used in App Notification setup (Closed)

Created:
9 years ago by asargent_no_longer_on_chrome
Modified:
9 years ago
Reviewers:
Munjal (Google)
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, mihaip+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Save the oauth client id used in App Notification setup We're also syncing this value, which has the nice side effect of letting us get rid of the "setup done" boolean we were planning on using. BUG=105682 TEST=Setting up app notifications should leave a "app_notif_client_id" key in your Preferences file in the extensions section associated with the app in question. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112357

Patch Set 1 #

Total comments: 13

Patch Set 2 : fixed unit test #

Patch Set 3 : fixed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -56 lines) Patch
A chrome/browser/extensions/app_notification_browsertest.cc View 1 2 1 chunk +80 lines, -0 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.h View 2 chunks +21 lines, -4 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup.cc View 1 2 4 chunks +21 lines, -2 lines 0 comments Download
M chrome/browser/extensions/app_notify_channel_setup_unittest.cc View 1 chunk +3 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.h View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 2 chunks +14 lines, -9 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 5 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.h View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data.cc View 7 chunks +10 lines, -10 lines 0 comments Download
M chrome/browser/extensions/extension_sync_data_unittest.cc View 1 4 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_tab_helper.h View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_tab_helper.cc View 2 chunks +18 lines, -5 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/app_notifications/launch.html View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/app_notifications/launch.js View 1 chunk +5 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/app_notifications/manifest.json View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
asargent_no_longer_on_chrome
9 years ago (2011-11-29 05:11:19 UTC) #1
Munjal (Google)
Mostly nits. One other thing: is there any other plumbing that is needed on sync ...
9 years ago (2011-11-29 21:55:34 UTC) #2
asargent_no_longer_on_chrome
Addressed comments. > One other thing: is there any other plumbing that is needed > ...
9 years ago (2011-11-30 06:06:20 UTC) #3
Munjal (Google)
http://codereview.chromium.org/8727024/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc File chrome/browser/extensions/app_notify_channel_setup.cc (right): http://codereview.chromium.org/8727024/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc#newcode97 chrome/browser/extensions/app_notify_channel_setup.cc:97: delegate_->AppNotifyChannelSetupComplete(channel_id, error, this); I am actually thinking if there ...
9 years ago (2011-11-30 19:21:12 UTC) #4
asargent_no_longer_on_chrome
http://codereview.chromium.org/8727024/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc File chrome/browser/extensions/app_notify_channel_setup.cc (right): http://codereview.chromium.org/8727024/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc#newcode97 chrome/browser/extensions/app_notify_channel_setup.cc:97: delegate_->AppNotifyChannelSetupComplete(channel_id, error, this); On 2011/11/30 19:21:12, munjal wrote: > ...
9 years ago (2011-11-30 19:45:21 UTC) #5
Munjal (Google)
LGTM http://codereview.chromium.org/8727024/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc File chrome/browser/extensions/app_notify_channel_setup.cc (right): http://codereview.chromium.org/8727024/diff/1/chrome/browser/extensions/app_notify_channel_setup.cc#newcode97 chrome/browser/extensions/app_notify_channel_setup.cc:97: delegate_->AppNotifyChannelSetupComplete(channel_id, error, this); On 2011/11/30 19:45:21, Antony Sargent ...
9 years ago (2011-11-30 20:05:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asargent@chromium.org/8727024/8001
9 years ago (2011-11-30 22:27:34 UTC) #7
commit-bot: I haz the power
9 years ago (2011-12-01 00:41:11 UTC) #8
Change committed as 112357

Powered by Google App Engine
This is Rietveld 408576698