OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/common/child_process_logging.h" | 5 #include "chrome/common/child_process_logging.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/string_util.h" | 8 #include "base/string_util.h" |
| 9 #include "base/utf_string_conversions.h" |
9 #include "chrome/common/gpu_info.h" | 10 #include "chrome/common/gpu_info.h" |
10 #include "chrome/installer/util/google_update_settings.h" | 11 #include "chrome/installer/util/google_update_settings.h" |
11 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
12 | 13 |
13 namespace child_process_logging { | 14 namespace child_process_logging { |
14 | 15 |
15 // We use a static string to hold the most recent active url. If we crash, the | 16 // We use a static string to hold the most recent active url. If we crash, the |
16 // crash handler code will send the contents of this string to the browser. | 17 // crash handler code will send the contents of this string to the browser. |
17 std::string active_url; | 18 std::string active_url; |
18 | 19 |
(...skipping 14 matching lines...) Expand all Loading... |
33 | 34 |
34 void SetActiveExtensions(const std::set<std::string>& extension_ids) { | 35 void SetActiveExtensions(const std::set<std::string>& extension_ids) { |
35 // TODO(port) | 36 // TODO(port) |
36 } | 37 } |
37 | 38 |
38 void SetGpuInfo(const GPUInfo& gpu_info) { | 39 void SetGpuInfo(const GPUInfo& gpu_info) { |
39 // TODO(rlp): Bug 38737. | 40 // TODO(rlp): Bug 38737. |
40 } | 41 } |
41 | 42 |
42 } // namespace child_process_logging | 43 } // namespace child_process_logging |
OLD | NEW |