diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-22 13:22:23 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-22 13:22:23 +0000 |
commit | 1dda97773521130a156179a18528adb3bd5ae257 (patch) | |
tree | 6a4be6f874c5ad4726ae8d61fcbd14a39a1cb859 /base/debug/trace_event.h | |
parent | efbd0286463c67eb0ed3787e37a3c1aa43c66eee (diff) | |
download | chromium_src-1dda97773521130a156179a18528adb3bd5ae257.zip chromium_src-1dda97773521130a156179a18528adb3bd5ae257.tar.gz chromium_src-1dda97773521130a156179a18528adb3bd5ae257.tar.bz2 |
Re-land r93365 - add RefCountedString
Added RefCountedString, as this is what many RefCountedMemory users seem to want
Made data member of RefCountedBytes private, as per style guide
Changed base64 APIs to accept StringPiece, as it's sometimes better and never worse than string.
Fix chromeos build; additional files updated comapred to previous patch:
chrome/browser/ui/login/login_prompt_ui.cc
chrome/browser/ui/webui/active_downloads_ui.cc
chrome/browser/ui/webui/chromeos/choose_mobile_network_ui.cc
chrome/browser/ui/webui/chromeos/enterprise_enrollment_ui.cc
chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc
chrome/browser/ui/webui/chromeos/keyboard_overlay_ui.cc
chrome/browser/ui/webui/chromeos/login/login_ui.cc
chrome/browser/ui/webui/chromeos/login/login_ui_helpers.cc
chrome/browser/ui/webui/chromeos/login/login_ui_helpers.h
chrome/browser/ui/webui/chromeos/login/mock_login_ui_helpers.h
chrome/browser/ui/webui/chromeos/login/oobe_ui.cc
chrome/browser/ui/webui/chromeos/mobile_setup_ui.cc
chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc
chrome/browser/ui/webui/chromeos/register_page_ui.cc
chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc
chrome/browser/ui/webui/chromeos/system_info_ui.cc
chrome/browser/ui/webui/collected_cookies_ui_delegate.cc
BUG=None
TEST=All existing tests pass. Extended ref_counted_memory_unittests
Review URL: http://codereview.chromium.org/7397021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93617 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/debug/trace_event.h')
-rw-r--r-- | base/debug/trace_event.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/debug/trace_event.h b/base/debug/trace_event.h index 11b8318..d1c7418 100644 --- a/base/debug/trace_event.h +++ b/base/debug/trace_event.h @@ -278,10 +278,10 @@ INTERNAL_TRACE_EVENT_UID(begin_event_id), threshold); \ } -class RefCountedBytes; - namespace base { +class RefCountedString; + namespace debug { // Categories allow enabling/disabling of streams of trace events @@ -438,7 +438,7 @@ class TraceEvent { const char* name_; const char* arg_names_[kTraceMaxNumArgs]; TraceValue arg_values_[kTraceMaxNumArgs]; - scoped_refptr<RefCountedBytes> parameter_copy_storage_; + scoped_refptr<base::RefCountedString> parameter_copy_storage_; }; |