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

Issue 307048: Save a little work when fetching the default title by only checking the name... (Closed)

Created:
11 years, 2 months ago by Pam (message me for reviews)
Modified:
9 years, 5 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews_googlegroups.com, Erik does not do reviews, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Neither name nor title are required for page- or browser-actions. Update loader and unit tests. BUG=25482 TEST=covered by unit tests

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -19 lines) Patch
M chrome/common/extensions/extension.cc View 1 2 1 chunk +12 lines, -5 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 2 7 chunks +79 lines, -13 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Pam (message me for reviews)
I can't reproduce the problem described in the bug, and the unit tests appear to ...
11 years, 2 months ago (2009-10-22 22:07:30 UTC) #1
Aaron Boodman
Neither the name nor default_title should be required for either page actions or browser actions.
11 years, 2 months ago (2009-10-22 22:44:01 UTC) #2
Pam (message me for reviews)
Ah. New patch.
11 years, 2 months ago (2009-10-23 00:07:54 UTC) #3
Aaron Boodman
One more nit http://codereview.chromium.org/307048/diff/5001/5002 File chrome/common/extensions/extension.cc (right): http://codereview.chromium.org/307048/diff/5001/5002#newcode345 Line 345: page_action->GetString(keys::kPageActionDefaultTitle, &title) || This code ...
11 years, 2 months ago (2009-10-23 18:32:45 UTC) #4
Pam (message me for reviews)
Of course; sorry for not noticing that in the default_icon code. New patch. - Pam
11 years, 2 months ago (2009-10-23 19:32:15 UTC) #5
Aaron Boodman
11 years, 2 months ago (2009-10-23 19:43:45 UTC) #6
lgtm

thanks!

Powered by Google App Engine
This is Rietveld 408576698