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

Issue 6997006: iwyu: Include stringprintf.h where appropriate, part 1. (Closed)

Created:
9 years, 7 months ago by James Hawkins
Modified:
9 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews, vrk (LEFT CHROMIUM), dmaclach+watch_chromium.org, annacc, ajwong+watch_chromium.org, ncarter (slow), idana, Erik does not do reviews, jam, apatrick_chromium, wez+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, tim (not reviewing), michaeln, ddorwin+watch_chromium.org, fischman+watch_chromium.org, Raghu Simha, cbentzel+watch_chromium.org, simonmorris+watch_chromium.org, pam+watch_chromium.org, sergeyu+watch_chromium.org, scherkus (not reviewing), jamiewalch+watch_chromium.org, hclam+watch_chromium.org, sjl, garykac+watch_chromium.org, Aaron Boodman, acolwell GONE FROM CHROMIUM, lambroslambrou+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

iwyu: Include stringprintf.h where appropriate, part 1. BUG=82098 TEST=none R=thakis@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=84754

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -64 lines) Patch
M app/sql/connection.cc View 1 chunk +1 line, -0 lines 0 comments Download
M base/i18n/number_formatting.cc View 1 chunk +1 line, -0 lines 0 comments Download
M base/json/json_reader.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M base/json/json_writer.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M base/json/string_escape.cc View 2 chunks +2 lines, -1 line 2 comments Download
M base/process_util_linux.cc View 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/browser_about_handler.h View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/debugger/debugger_remote_service.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/debugger/devtools_http_protocol_handler.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/debugger/devtools_window.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/sync/engine/syncer_proto_util.cc View 2 chunks +15 lines, -14 lines 0 comments Download
M chrome/browser/sync/syncable/directory_backing_store.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_l10n_util.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/extension_message_bundle.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/net/gaia/gaia_auth_fetcher.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/render_messages.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/renderer/extensions/bindings_utils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/user_script_slave.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/renderer/security_filter_peer.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/geolocation/libgps_wrapper_linux.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/geolocation/wifi_data_provider_common.cc View 2 chunks +8 lines, -3 lines 0 comments Download
M content/common/child_process_info.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/ppapi_plugin/ppapi_thread.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/common/gpu_trace_event.cc View 7 chunks +12 lines, -13 lines 0 comments Download
M ipc/ipc_message_utils.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/filters/ffmpeg_glue.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M net/http/http_proxy_utils.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/http/http_request_headers.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_stream_parser.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_util.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/proxy/proxy_bypass_rules.cc View 1 chunk +1 line, -0 lines 0 comments Download
M net/url_request/view_cache_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M printing/printed_document.cc View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/client/plugin/chromoting_instance.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M ui/gfx/insets.cc View 1 chunk +1 line, -1 line 0 comments Download
M webkit/appcache/view_appcache_internals_job.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/blob/view_blob_internals_job.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/glue/media/buffered_resource_loader.cc View 1 chunk +1 line, -0 lines 0 comments Download
M webkit/plugins/npapi/plugin_list_posix.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
James Hawkins
9 years, 7 months ago (2011-05-10 02:38:11 UTC) #1
Nico
LGTM But: It would be great if you could file a bug for the iwyu ...
9 years, 7 months ago (2011-05-10 02:57:50 UTC) #2
James Hawkins
9 years, 7 months ago (2011-05-10 04:01:43 UTC) #3
Added a bug, but have to add more data to it at a later point.

http://codereview.chromium.org/6997006/diff/1/base/json/string_escape.cc
File base/json/string_escape.cc (right):

http://codereview.chromium.org/6997006/diff/1/base/json/string_escape.cc#newc...
base/json/string_escape.cc:67: base::StringAppendF(dst, "\\u%04X", as_uint);
On 2011/05/10 02:57:51, Nico wrote:
> hm, these are not necessary because of ADL. does iwyu add these? do we prefer
> explicitness over adl? it's a bit less flexible.

No, I added them.  I prefer them, but I don't think the style guide says
anything about this. My rationale is that the style guide bans the use of using
entire namespaces (specifically because of ambiguity), and in my mind relyingon
ADL to get this right is even worse than using namespace base at the top of the
file.

Powered by Google App Engine
This is Rietveld 408576698