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

Side by Side Diff: base/location.h

Issue 9703098: Remove "base/values.h" import from "base/location.h", fix up downstream files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix one more file on ChromiumOS Created 8 years, 9 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 | « no previous file | base/location.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef BASE_LOCATION_H_ 5 #ifndef BASE_LOCATION_H_
6 #define BASE_LOCATION_H_ 6 #define BASE_LOCATION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/base_export.h" 10 #include "base/base_export.h"
11 #include "base/values.h" 11
12 namespace base {
13 class DictionaryValue;
14 }
12 15
13 namespace tracked_objects { 16 namespace tracked_objects {
14 17
15 // Location provides basic info where of an object was constructed, or was 18 // Location provides basic info where of an object was constructed, or was
16 // significantly brought to life. 19 // significantly brought to life.
17 class BASE_EXPORT Location { 20 class BASE_EXPORT Location {
18 public: 21 public:
19 // Constructor should be called with a long-lived char*, such as __FILE__. 22 // Constructor should be called with a long-lived char*, such as __FILE__.
20 // It assumes the provided value will persist as a global constant, and it 23 // It assumes the provided value will persist as a global constant, and it
21 // will not make a copy of it. 24 // will not make a copy of it.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 79
77 #define FROM_HERE_WITH_EXPLICIT_FUNCTION(function_name) \ 80 #define FROM_HERE_WITH_EXPLICIT_FUNCTION(function_name) \
78 ::tracked_objects::Location(function_name, \ 81 ::tracked_objects::Location(function_name, \
79 __FILE__, \ 82 __FILE__, \
80 __LINE__, \ 83 __LINE__, \
81 ::tracked_objects::GetProgramCounter()) 84 ::tracked_objects::GetProgramCounter())
82 85
83 } // namespace tracked_objects 86 } // namespace tracked_objects
84 87
85 #endif // BASE_LOCATION_H_ 88 #endif // BASE_LOCATION_H_
OLDNEW
« no previous file with comments | « no previous file | base/location.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698