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

Side by Side Diff: mojo/public/cpp/environment/logging.h

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 // Logging macros, similar to Chromium's base/logging.h, except with |MOJO_| 5 // Logging macros, similar to Chromium's base/logging.h, except with |MOJO_|
6 // prefixes and missing some features (notably |CHECK_EQ()|, etc.). 6 // prefixes and missing some features (notably |CHECK_EQ()|, etc.).
7 7
8 // TODO(vtl): It's weird that this is in the environment directory, since its 8 // TODO(vtl): It's weird that this is in the environment directory, since its
9 // implementation (in environment/lib) is meant to be used by any implementation 9 // implementation (in environment/lib) is meant to be used by any implementation
10 // of the environment. 10 // of the environment.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // Used to ignore a stream. 81 // Used to ignore a stream.
82 struct VoidifyOstream { 82 struct VoidifyOstream {
83 // Use & since it has precedence lower than << but higher than ?:. 83 // Use & since it has precedence lower than << but higher than ?:.
84 void operator&(std::ostream&) {} 84 void operator&(std::ostream&) {}
85 }; 85 };
86 86
87 } // namespace internal 87 } // namespace internal
88 } // namespace mojo 88 } // namespace mojo
89 89
90 #endif // MOJO_PUBLIC_CPP_ENVIRONMENT_LOGGING_H_ 90 #endif // MOJO_PUBLIC_CPP_ENVIRONMENT_LOGGING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698