Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: components/crash/content/app/crash_keys_win.cc

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « components/crash/content/app/crash_keys_win.h ('k') | components/crash/content/app/crash_keys_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698