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

Side by Side Diff: chrome/common/chrome_paths_win.cc

Issue 1546673002: Add the crash client ID to the uninstall URL params. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chrome_paths_internal.h" 5 #include "chrome/common/chrome_paths_internal.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <knownfolders.h> 8 #include <knownfolders.h>
9 #include <shellapi.h> 9 #include <shellapi.h>
10 #include <shlobj.h> 10 #include <shlobj.h>
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 #if !defined(DISABLE_NACL) 112 #if !defined(DISABLE_NACL)
113 if (process_type == switches::kNaClBrokerProcess || 113 if (process_type == switches::kNaClBrokerProcess ||
114 process_type == switches::kNaClLoaderProcess) { 114 process_type == switches::kNaClLoaderProcess) {
115 return true; 115 return true;
116 } 116 }
117 #endif 117 #endif
118 118
119 return false; 119 return false;
120 } 120 }
121 121
122 bool GetDefaultCrashDumpLocation(base::FilePath* crash_dir) {
123 if (!GetDefaultUserDataDirectory(crash_dir))
124 return false;
125 *crash_dir = crash_dir->Append(FILE_PATH_LITERAL("Crashpad"));
126 return true;
127 }
128
122 } // namespace chrome 129 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698