| // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_NET_LOG_CHROME_NET_LOG_H_ |
| #define COMPONENTS_NET_LOG_CHROME_NET_LOG_H_ |
| |
| #include <memory> |
| #include <string> |
| |
| #include "base/command_line.h" |
| |
| namespace base { |
| class DictionaryValue; |
| } |
| |
| namespace net_log { |
| |
| // Returns constants to include in NetLog files including information such as: |
| // |
| // * The version and build of Chrome |
| // * The command line arguments Chrome was launched with |
| // * The operating system version |
| // |
| // Safe to call on any thread. |
| std::unique_ptr<base::DictionaryValue> GetPlatformConstantsForNetLog( |
| const base::CommandLine::StringType& command_line_string, |
| const std::string& channel_string); |
| |
| } // namespace net_log |
| |
| #endif // COMPONENTS_NET_LOG_CHROME_NET_LOG_H_ |