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

Issue 13937002: Really fix build after r193020. (Closed)

Created:
7 years, 8 months ago by dcheng
Modified:
7 years, 8 months ago
CC:
chromium-reviews, tzik+watch_chromium.org, yoshiki+watch_chromium.org, sail+watch_chromium.org, kinuko+watch, vsevik, Aaron Boodman, aboxhall+watch_chromium.org, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, dbeam+watch-options_chromium.org, rdsmith+dwatch_chromium.org, yuzo+watch_chromium.org, ctguil+watch_chromium.org, zork+watch_chromium.org, hashimoto+watch_chromium.org, tfarina, yurys, davidbarr+watch_chromium.org, benjhayden+dwatch_chromium.org, dtseng+watch_chromium.org, pfeldman, dmazzoni+watch_chromium.org
Visibility:
Public.

Description

Really fix build after r193020. Argh. Macros are evil. BUG= TBR=darin Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193029

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -24 lines) Patch
M base/file_util_posix.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/devtools/devtools_file_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_file_picker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/bookmarks/bookmarks_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/developer_private/entry_picker.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/file_system/file_system_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/file_select_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/google_apis/gdata_wapi_parser_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media_galleries/media_galleries_dialog_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/chrome_select_file_policy_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/pack_extension_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/print_preview/print_preview_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_file_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/accessibility/accessibility_tree_formatter.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/plugin_service_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/tracing/tracing_ui.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/test/layout_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/fileapi/file_system_util_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
dcheng
Committed patchset #1 manually as r193029.
7 years, 8 months ago (2013-04-09 06:27:48 UTC) #1
Randy Smith (Not in Mondays)
I'd recommend putting a comment about this (mis-)pattern at the declaration of FILE_PATH_LITERAL(). Most people ...
7 years, 8 months ago (2013-04-09 12:40:28 UTC) #2
dcheng
7 years, 8 months ago (2013-04-09 16:09:30 UTC) #3
Message was sent while issue was closed.
On 2013/04/09 12:40:28, rdsmith wrote:
> I'd recommend putting a comment about this (mis-)pattern at the declaration of
> FILE_PATH_LITERAL().  Most people use new constructs by copy-and-paste, and
are
> moderately likely to see FILE_PATH_LITERAL("something") ->
FILE_PATH_LITERAL("")
> as copy-and-paste (i.e. this usage is going to keep creeping back) but I think
> you'll be able to slow the bleed down by warning against it at the FPL decl.

It's tricky, because it's not always clear when this ends up turning into a
basic_string instance, due to the implicit constructor. This is actually a check
I plan on adding to Clang at some point.

Powered by Google App Engine
This is Rietveld 408576698