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

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

Issue 18640003: Updates some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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/browser/enumerate_modules_model_win.h" 5 #include "chrome/browser/enumerate_modules_model_win.h"
6 6
7 #include <Tlhelp32.h> 7 #include <Tlhelp32.h>
8 #include <wintrust.h> 8 #include <wintrust.h>
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/environment.h" 13 #include "base/environment.h"
14 #include "base/file_version_info_win.h" 14 #include "base/file_version_info_win.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/i18n/case_conversion.h" 16 #include "base/i18n/case_conversion.h"
17 #include "base/metrics/histogram.h" 17 #include "base/metrics/histogram.h"
18 #include "base/strings/string_number_conversions.h" 18 #include "base/strings/string_number_conversions.h"
19 #include "base/strings/string_util.h" 19 #include "base/strings/string_util.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "base/values.h" 22 #include "base/values.h"
23 #include "base/version.h" 23 #include "base/version.h"
24 #include "base/win/registry.h" 24 #include "base/win/registry.h"
25 #include "base/win/scoped_handle.h" 25 #include "base/win/scoped_handle.h"
26 #include "base/win/windows_version.h" 26 #include "base/win/windows_version.h"
27 #include "chrome/browser/chrome_notification_types.h"
27 #include "chrome/browser/net/service_providers_win.h" 28 #include "chrome/browser/net/service_providers_win.h"
28 #include "chrome/common/chrome_constants.h" 29 #include "chrome/common/chrome_constants.h"
29 #include "chrome/common/chrome_notification_types.h"
30 #include "chrome/common/chrome_switches.h" 30 #include "chrome/common/chrome_switches.h"
31 #include "content/public/browser/notification_service.h" 31 #include "content/public/browser/notification_service.h"
32 #include "crypto/sha2.h" 32 #include "crypto/sha2.h"
33 #include "grit/generated_resources.h" 33 #include "grit/generated_resources.h"
34 #include "grit/google_chrome_strings.h" 34 #include "grit/google_chrome_strings.h"
35 #include "ui/base/l10n/l10n_util.h" 35 #include "ui/base/l10n/l10n_util.h"
36 36
37 using content::BrowserThread; 37 using content::BrowserThread;
38 38
39 // The period of time (in milliseconds) to wait until checking to see if any 39 // The period of time (in milliseconds) to wait until checking to see if any
(...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 GenerateHash(WideToUTF8(module.name), &filename); 1059 GenerateHash(WideToUTF8(module.name), &filename);
1060 GenerateHash(WideToUTF8(module.location), &location); 1060 GenerateHash(WideToUTF8(module.location), &location);
1061 GenerateHash(WideToUTF8(module.description), &description); 1061 GenerateHash(WideToUTF8(module.description), &description);
1062 GenerateHash(WideToUTF8(module.digital_signer), &signer); 1062 GenerateHash(WideToUTF8(module.digital_signer), &signer);
1063 1063
1064 string16 url = l10n_util::GetStringFUTF16(IDS_HELP_CENTER_VIEW_CONFLICTS, 1064 string16 url = l10n_util::GetStringFUTF16(IDS_HELP_CENTER_VIEW_CONFLICTS,
1065 ASCIIToUTF16(filename), ASCIIToUTF16(location), 1065 ASCIIToUTF16(filename), ASCIIToUTF16(location),
1066 ASCIIToUTF16(description), ASCIIToUTF16(signer)); 1066 ASCIIToUTF16(description), ASCIIToUTF16(signer));
1067 return GURL(UTF16ToUTF8(url)); 1067 return GURL(UTF16ToUTF8(url));
1068 } 1068 }
OLDNEW
« no previous file with comments | « chrome/browser/download/download_util.cc ('k') | chrome/browser/extensions/active_tab_permission_granter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698