| 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 <stdio.h> | 5 #include <stdio.h> |
| 6 | 6 |
| 7 #include "base/json/json_string_value_serializer.h" | 7 #include "base/json/json_string_value_serializer.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/values.h" | 10 #include "base/values.h" |
| 10 #include "net/tools/gdig/file_net_log.h" | 11 #include "net/tools/gdig/file_net_log.h" |
| 11 | 12 |
| 12 namespace net { | 13 namespace net { |
| 13 | 14 |
| 14 FileNetLog::FileNetLog(FILE* destination, LogLevel level) | 15 FileNetLog::FileNetLog(FILE* destination, LogLevel level) |
| 15 : log_level_(level), | 16 : log_level_(level), |
| 16 destination_(destination) { | 17 destination_(destination) { |
| 17 DCHECK(destination != NULL); | 18 DCHECK(destination != NULL); |
| 18 // Without calling GetNext() once here, the first GetNext will return 0 | 19 // Without calling GetNext() once here, the first GetNext will return 0 |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 LogLevel log_level) { | 67 LogLevel log_level) { |
| 67 NOTIMPLEMENTED() << "Not currently used by gdig."; | 68 NOTIMPLEMENTED() << "Not currently used by gdig."; |
| 68 } | 69 } |
| 69 | 70 |
| 70 void FileNetLog::RemoveThreadSafeObserver( | 71 void FileNetLog::RemoveThreadSafeObserver( |
| 71 NetLog::ThreadSafeObserver* observer) { | 72 NetLog::ThreadSafeObserver* observer) { |
| 72 NOTIMPLEMENTED() << "Not currently used by gdig."; | 73 NOTIMPLEMENTED() << "Not currently used by gdig."; |
| 73 } | 74 } |
| 74 | 75 |
| 75 } // namespace net | 76 } // namespace net |
| OLD | NEW |