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

Side by Side Diff: base/tracked_objects.cc

Issue 118162: Reduce header dependencies in base/ (Closed)
Patch Set: Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/tracked_objects.h" 5 #include "base/tracked_objects.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 8
9 #include "base/message_loop.h"
9 #include "base/string_util.h" 10 #include "base/string_util.h"
10 11
11 using base::TimeDelta; 12 using base::TimeDelta;
12 13
13 namespace tracked_objects { 14 namespace tracked_objects {
14 15
15 // A TLS slot to the TrackRegistry for the current thread. 16 // A TLS slot to the TrackRegistry for the current thread.
16 // static 17 // static
17 TLSSlot ThreadData::tls_index_(base::LINKER_INITIALIZED); 18 TLSSlot ThreadData::tls_index_(base::LINKER_INITIALIZED);
18 19
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
897 (combined_selectors_ & BIRTH_THREAD) ? "*" : 898 (combined_selectors_ & BIRTH_THREAD) ? "*" :
898 sample.birth().birth_thread()->ThreadName().c_str(), 899 sample.birth().birth_thread()->ThreadName().c_str(),
899 (combined_selectors_ & DEATH_THREAD) ? "*" : 900 (combined_selectors_ & DEATH_THREAD) ? "*" :
900 sample.DeathThreadName().c_str()); 901 sample.DeathThreadName().c_str());
901 sample.birth().location().Write(!(combined_selectors_ & BIRTH_FILE), 902 sample.birth().location().Write(!(combined_selectors_ & BIRTH_FILE),
902 !(combined_selectors_ & BIRTH_FUNCTION), 903 !(combined_selectors_ & BIRTH_FUNCTION),
903 output); 904 output);
904 } 905 }
905 906
906 } // namespace tracked_objects 907 } // namespace tracked_objects
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698