| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "sync/util/logging.h" | 5 #include "components/sync/base/logging.h" |
| 6 | 6 |
| 7 #include "base/location.h" | 7 #include "base/location.h" |
| 8 | 8 |
| 9 namespace syncer { | 9 namespace syncer { |
| 10 | 10 |
| 11 bool VlogIsOnForLocation(const tracked_objects::Location& from_here, | 11 bool VlogIsOnForLocation(const tracked_objects::Location& from_here, |
| 12 int verbose_level) { | 12 int verbose_level) { |
| 13 return (verbose_level <= | 13 return (verbose_level <= |
| 14 logging::GetVlogLevelHelper( | 14 logging::GetVlogLevelHelper(from_here.file_name(), |
| 15 from_here.file_name(), ::strlen(from_here.file_name()))); | 15 ::strlen(from_here.file_name()))); |
| 16 } | 16 } |
| 17 | 17 |
| 18 } // namespace syncer | 18 } // namespace syncer |
| OLD | NEW |