| 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 "components/breakpad/app/crash_keys_win.h" | 5 #include "components/crash/app/crash_keys_win.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "base/base_switches.h" | 9 #include "base/base_switches.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/strings/stringprintf.h" | 13 #include "base/strings/stringprintf.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 15 #include "components/breakpad/app/breakpad_client.h" | 15 #include "components/crash/app/breakpad_client.h" |
| 16 | 16 |
| 17 | 17 |
| 18 namespace breakpad { | 18 namespace breakpad { |
| 19 | 19 |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 const size_t kMaxPluginPathLength = 256; | 22 const size_t kMaxPluginPathLength = 256; |
| 23 const size_t kMaxDynamicEntries = 256; | 23 const size_t kMaxDynamicEntries = 256; |
| 24 | 24 |
| 25 } // namespace | 25 } // namespace |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 | 185 |
| 186 std::wstring key_string(key); | 186 std::wstring key_string(key); |
| 187 DynamicEntriesMap::iterator it = dynamic_entries_.find(key_string); | 187 DynamicEntriesMap::iterator it = dynamic_entries_.find(key_string); |
| 188 if (it == dynamic_entries_.end()) | 188 if (it == dynamic_entries_.end()) |
| 189 return; | 189 return; |
| 190 | 190 |
| 191 it->second->set_value(NULL); | 191 it->second->set_value(NULL); |
| 192 } | 192 } |
| 193 | 193 |
| 194 } // namespace breakpad | 194 } // namespace breakpad |
| OLD | NEW |