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

Side by Side Diff: base/tracked.cc

Issue 6410105: run iwyu on base! Base URL: svn://svn.chromium.org/chrome/trunk/src/base
Patch Set: Created 9 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « base/timer.cc ('k') | base/tracked_objects.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.h" 5 #include <stddef.h>
6 #include <string>
6 7
7 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "base/time.h"
10 #include "base/tracked.h"
8 #include "base/tracked_objects.h" 11 #include "base/tracked_objects.h"
9 12
10 using base::TimeTicks; 13 using base::TimeTicks;
11 14
12 namespace tracked_objects { 15 namespace tracked_objects {
13 16
14 //------------------------------------------------------------------------------ 17 //------------------------------------------------------------------------------
15 18
16 Location::Location(const char* function_name, const char* file_name, 19 Location::Location(const char* function_name, const char* file_name,
17 int line_number) 20 int line_number)
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 tracked_birth_time_ = TimeTicks::Now(); 111 tracked_birth_time_ = TimeTicks::Now();
109 } 112 }
110 113
111 bool Tracked::MissingBirthplace() const { 114 bool Tracked::MissingBirthplace() const {
112 return -1 == tracked_births_->location().line_number(); 115 return -1 == tracked_births_->location().line_number();
113 } 116 }
114 117
115 #endif // NDEBUG 118 #endif // NDEBUG
116 119
117 } // namespace tracked_objects 120 } // namespace tracked_objects
OLDNEW
« no previous file with comments | « base/timer.cc ('k') | base/tracked_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698