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

Issue 11092078: Add some error messages for setting wallpaper failures on Chrome(c++) side. (Closed)

Created:
8 years, 2 months ago by bshe
Modified:
8 years, 2 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org, nkostylev+watch_chromium.org, Aaron Boodman, arv (Not doing code reviews), oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add some error messages for setting wallpaper failures on Chrome(c++) side. We have error handling of wallpaper functions on Javascript side. This cl adds some error messages on Chrome side and eventually display these messages in a butter bar. BUG=152844 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=162864

Patch Set 1 #

Patch Set 2 : nits #

Total comments: 6

Patch Set 3 : Using localized string #

Total comments: 2

Patch Set 4 : Rebase to master #

Patch Set 5 : use SetError #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -21 lines) Patch
M chrome/browser/chromeos/extensions/wallpaper_private_api.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/wallpaper_private_api.cc View 1 2 3 4 7 chunks +14 lines, -15 lines 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/butter_bar.js View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/resources/chromeos/wallpaper_manager/js/wallpaper_manager.js View 1 2 3 4 2 chunks +14 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/wallpaper_private.json View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
bshe
Hi Nikita. Could you please take a look at this small CL? I added some ...
8 years, 2 months ago (2012-10-11 14:57:47 UTC) #1
bshe
Friendly ping? On 2012/10/11 14:57:47, bshe wrote: > Hi Nikita. > > Could you please ...
8 years, 2 months ago (2012-10-15 15:00:34 UTC) #2
Nikita (slow)
Sorry for delay, was out of office on Thu/Fri. http://codereview.chromium.org/11092078/diff/1006/chrome/browser/chromeos/extensions/wallpaper_private_api.cc File chrome/browser/chromeos/extensions/wallpaper_private_api.cc (right): http://codereview.chromium.org/11092078/diff/1006/chrome/browser/chromeos/extensions/wallpaper_private_api.cc#newcode102 chrome/browser/chromeos/extensions/wallpaper_private_api.cc:102: ...
8 years, 2 months ago (2012-10-15 15:14:11 UTC) #3
bshe
On 2012/10/15 15:14:11, Nikita Kostylev wrote: > Sorry for delay, was out of office on ...
8 years, 2 months ago (2012-10-15 15:24:48 UTC) #4
Nikita (slow)
Don't have any other comments so far but I would like to take a look ...
8 years, 2 months ago (2012-10-15 15:48:38 UTC) #5
bshe
Hi Nikita. Now the string has finalized. Could you please take another look? Note that ...
8 years, 2 months ago (2012-10-17 00:13:50 UTC) #6
Nikita (slow)
lgtm
8 years, 2 months ago (2012-10-17 10:54:24 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/11092078/9001
8 years, 2 months ago (2012-10-17 15:58:05 UTC) #8
commit-bot: I haz the power
Presubmit check for 11092078-9001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-17 15:58:12 UTC) #9
bshe
+mihaip Could you please take a look and also owners? Thanks!
8 years, 2 months ago (2012-10-17 16:37:16 UTC) #10
Mihai Parparita -not on Chrome
https://chromiumcodereview.appspot.com/11092078/diff/9001/chrome/browser/chromeos/extensions/wallpaper_private_api.cc File chrome/browser/chromeos/extensions/wallpaper_private_api.cc (right): https://chromiumcodereview.appspot.com/11092078/diff/9001/chrome/browser/chromeos/extensions/wallpaper_private_api.cc#newcode137 chrome/browser/chromeos/extensions/wallpaper_private_api.cc:137: SetResult(Value::CreateStringValue(error)); The more idiomatic (with other APIs) way of ...
8 years, 2 months ago (2012-10-18 00:30:54 UTC) #11
bshe
Thanks! https://chromiumcodereview.appspot.com/11092078/diff/9001/chrome/browser/chromeos/extensions/wallpaper_private_api.cc File chrome/browser/chromeos/extensions/wallpaper_private_api.cc (right): https://chromiumcodereview.appspot.com/11092078/diff/9001/chrome/browser/chromeos/extensions/wallpaper_private_api.cc#newcode137 chrome/browser/chromeos/extensions/wallpaper_private_api.cc:137: SetResult(Value::CreateStringValue(error)); I made the change and use SetError ...
8 years, 2 months ago (2012-10-18 17:34:59 UTC) #12
Mihai Parparita -not on Chrome
LGTM, you're using chrome.runtime.lastError correctly.
8 years, 2 months ago (2012-10-18 20:55:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/11092078/18001
8 years, 2 months ago (2012-10-18 21:05:47 UTC) #14
commit-bot: I haz the power
8 years, 2 months ago (2012-10-19 00:39:47 UTC) #15
Change committed as 162864

Powered by Google App Engine
This is Rietveld 408576698