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/crash/app/crash_keys_win.h" | 5 #include "components/crash/content/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/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "components/crash/app/crash_reporter_client.h" | 15 #include "components/crash/content/app/crash_reporter_client.h" |
16 | 16 |
17 namespace breakpad { | 17 namespace breakpad { |
18 | 18 |
19 using crash_reporter::CrashReporterClient; | 19 using crash_reporter::CrashReporterClient; |
20 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 const size_t kMaxPluginPathLength = 256; | 23 const size_t kMaxPluginPathLength = 256; |
24 const size_t kMaxDynamicEntries = 256; | 24 const size_t kMaxDynamicEntries = 256; |
25 | 25 |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 183 |
184 std::wstring key_string(key); | 184 std::wstring key_string(key); |
185 DynamicEntriesMap::iterator it = dynamic_entries_.find(key_string); | 185 DynamicEntriesMap::iterator it = dynamic_entries_.find(key_string); |
186 if (it == dynamic_entries_.end()) | 186 if (it == dynamic_entries_.end()) |
187 return; | 187 return; |
188 | 188 |
189 it->second->set_value(NULL); | 189 it->second->set_value(NULL); |
190 } | 190 } |
191 | 191 |
192 } // namespace breakpad | 192 } // namespace breakpad |
OLD | NEW |