diff options
author | felipeg@chromium.org <felipeg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 10:29:01 +0000 |
---|---|---|
committer | felipeg@chromium.org <felipeg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-20 10:29:01 +0000 |
commit | 3dc6454e4dea6dd1e44ffad033f29e5c939bfc42 (patch) | |
tree | db249a0ff0557f1bf460f573ec45c941fee653fa /tools/cygprofile/cygprofile.cc | |
parent | 2894798f1bf3bfdc550b66fa267549d5421bfe16 (diff) | |
download | chromium_src-3dc6454e4dea6dd1e44ffad033f29e5c939bfc42.zip chromium_src-3dc6454e4dea6dd1e44ffad033f29e5c939bfc42.tar.gz chromium_src-3dc6454e4dea6dd1e44ffad033f29e5c939bfc42.tar.bz2 |
Fix cygprofile compile error.
During last code review I changed the code after a reviewer comment and forgot to recompile.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11578030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174128 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/cygprofile/cygprofile.cc')
-rw-r--r-- | tools/cygprofile/cygprofile.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/cygprofile/cygprofile.cc b/tools/cygprofile/cygprofile.cc index 987d273..357a903 100644 --- a/tools/cygprofile/cygprofile.cc +++ b/tools/cygprofile/cygprofile.cc @@ -105,6 +105,7 @@ class CygTlsLog { private: static const int kBufMaxSize; static const char kLogFilenameFmt[]; + static const char kLogFileNamePrefix[]; // Flush the log to file. Create file if needed. // Must be called with locked log_mutex_. @@ -163,12 +164,11 @@ CygTlsLog* const kMagicBeingConstructed = reinterpret_cast<CygTlsLog*>(1); // Note, that we also flush by timer so not all thread logs may grow up to this. const int CygTlsLog::kBufMaxSize = 3000; - #if defined(OS_ANDROID) -const char CytTlsLog::kLogFileNamePrefix = -"/data/local/tmp/chrome/cyglog/"; +const char CygTlsLog::kLogFileNamePrefix[] = + "/data/local/tmp/chrome/cyglog/"; #else -const char CytTlsLog::kLogFileNamePrefix = "/var/log/chrome/"; +const char CygTlsLog::kLogFileNamePrefix[] = "/var/log/chrome/"; #endif // "cyglog.PID.LWP.pthread_self.PPID" |