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

Side by Side Diff: chrome/browser/enumerate_modules_model_win.cc

Issue 8477004: Have content/ create and destroy its own threads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With this patchset, Chrome runs and exits normally on Linux. Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/browser/enumerate_modules_model_win.h" 5 #include "chrome/browser/enumerate_modules_model_win.h"
6 6
7 #include <algorithm>
7 #include <Tlhelp32.h> 8 #include <Tlhelp32.h>
8 #include <wintrust.h> 9 #include <wintrust.h>
9 10
10 #include "base/command_line.h" 11 #include "base/command_line.h"
11 #include "base/environment.h" 12 #include "base/environment.h"
12 #include "base/file_path.h" 13 #include "base/file_path.h"
13 #include "base/file_version_info_win.h" 14 #include "base/file_version_info_win.h"
14 #include "base/i18n/case_conversion.h" 15 #include "base/i18n/case_conversion.h"
15 #include "base/metrics/histogram.h" 16 #include "base/metrics/histogram.h"
16 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
970 GenerateHash(WideToUTF8(module.name), &filename); 971 GenerateHash(WideToUTF8(module.name), &filename);
971 GenerateHash(WideToUTF8(module.location), &location); 972 GenerateHash(WideToUTF8(module.location), &location);
972 GenerateHash(WideToUTF8(module.description), &description); 973 GenerateHash(WideToUTF8(module.description), &description);
973 GenerateHash(WideToUTF8(module.digital_signer), &signer); 974 GenerateHash(WideToUTF8(module.digital_signer), &signer);
974 975
975 string16 url = l10n_util::GetStringFUTF16(IDS_HELP_CENTER_VIEW_CONFLICTS, 976 string16 url = l10n_util::GetStringFUTF16(IDS_HELP_CENTER_VIEW_CONFLICTS,
976 ASCIIToUTF16(filename), ASCIIToUTF16(location), 977 ASCIIToUTF16(filename), ASCIIToUTF16(location),
977 ASCIIToUTF16(description), ASCIIToUTF16(signer)); 978 ASCIIToUTF16(description), ASCIIToUTF16(signer));
978 return GURL(UTF16ToUTF8(url)); 979 return GURL(UTF16ToUTF8(url));
979 } 980 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698