| OLD | NEW |
| 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 #include "third_party/mojo/src/mojo/public/cpp/bindings/lib/validation_errors.h" | 5 #include "mojo/public/cpp/bindings/lib/validation_errors.h" |
| 6 | 6 |
| 7 #include "third_party/mojo/src/mojo/public/cpp/environment/logging.h" | 7 #include "mojo/public/cpp/environment/logging.h" |
| 8 | 8 |
| 9 namespace mojo { | 9 namespace mojo { |
| 10 namespace internal { | 10 namespace internal { |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 ValidationErrorObserverForTesting* g_validation_error_observer = nullptr; | 13 ValidationErrorObserverForTesting* g_validation_error_observer = nullptr; |
| 14 SerializationWarningObserverForTesting* g_serialization_warning_observer = | 14 SerializationWarningObserverForTesting* g_serialization_warning_observer = |
| 15 nullptr; | 15 nullptr; |
| 16 | 16 |
| 17 } // namespace | 17 } // namespace |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 } | 89 } |
| 90 | 90 |
| 91 SerializationWarningObserverForTesting:: | 91 SerializationWarningObserverForTesting:: |
| 92 ~SerializationWarningObserverForTesting() { | 92 ~SerializationWarningObserverForTesting() { |
| 93 MOJO_DCHECK(g_serialization_warning_observer == this); | 93 MOJO_DCHECK(g_serialization_warning_observer == this); |
| 94 g_serialization_warning_observer = nullptr; | 94 g_serialization_warning_observer = nullptr; |
| 95 } | 95 } |
| 96 | 96 |
| 97 } // namespace internal | 97 } // namespace internal |
| 98 } // namespace mojo | 98 } // namespace mojo |
| OLD | NEW |