diff options
author | changbin.shao@intel.com <changbin.shao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-16 07:51:11 +0000 |
---|---|---|
committer | changbin.shao@intel.com <changbin.shao@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-16 07:51:11 +0000 |
commit | 101616465fcc51d44a389621d1daced40c4ae6d2 (patch) | |
tree | 9e747ae89266e1623ce3ec0e485cbce7c6d6ed45 /media/base/media_log.h | |
parent | c96a456d97a28f7914f89a1caa5384d3bd7fa21f (diff) | |
download | chromium_src-101616465fcc51d44a389621d1daced40c4ae6d2.zip chromium_src-101616465fcc51d44a389621d1daced40c4ae6d2.tar.gz chromium_src-101616465fcc51d44a389621d1daced40c4ae6d2.tar.bz2 |
use type std::string instead of integer for MediaLogEvent::TOTAL_BYTES_SET
because overflow happens for integer larger than 2^31.
original review url: http://codereview.chromium.org/10828226
BUG=120328
Review URL: https://chromiumcodereview.appspot.com/10832334
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base/media_log.h')
-rw-r--r-- | media/base/media_log.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/base/media_log.h b/media/base/media_log.h index 0e93c6b..e72c08e 100644 --- a/media/base/media_log.h +++ b/media/base/media_log.h @@ -31,8 +31,8 @@ class MEDIA_EXPORT MediaLog : public base::RefCountedThreadSafe<MediaLog> { scoped_ptr<MediaLogEvent> CreateEvent(MediaLogEvent::Type type); scoped_ptr<MediaLogEvent> CreateBooleanEvent( MediaLogEvent::Type type, const char* property, bool value); - scoped_ptr<MediaLogEvent> CreateIntegerEvent( - MediaLogEvent::Type type, const char* property, int64 value); + scoped_ptr<MediaLogEvent> CreateStringEvent( + MediaLogEvent::Type type, const char* property, const std::string& value); scoped_ptr<MediaLogEvent> CreateTimeEvent( MediaLogEvent::Type type, const char* property, base::TimeDelta value); scoped_ptr<MediaLogEvent> CreateLoadEvent(const std::string& url); |