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

Side by Side Diff: webkit/glue/plugins/plugin_list_win.cc

Issue 3447008: base: Finish moving the SplitString functions from string_util.h to string_split.h (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: chromeos fixes Created 10 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/glue/plugins/plugin_list.h" 5 #include "webkit/glue/plugins/plugin_list.h"
6 6
7 #include <tchar.h> 7 #include <tchar.h>
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/command_line.h" 12 #include "base/command_line.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/registry.h" 15 #include "base/registry.h"
16 #include "base/scoped_ptr.h" 16 #include "base/scoped_ptr.h"
17 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
18 #include "base/string_split.h"
18 #include "base/string_util.h" 19 #include "base/string_util.h"
19 #include "webkit/glue/plugins/plugin_constants_win.h" 20 #include "webkit/glue/plugins/plugin_constants_win.h"
20 #include "webkit/glue/plugins/plugin_lib.h" 21 #include "webkit/glue/plugins/plugin_lib.h"
21 #include "webkit/glue/webkit_glue.h" 22 #include "webkit/glue/webkit_glue.h"
22 23
23 namespace { 24 namespace {
24 25
25 const TCHAR kRegistryApps[] = 26 const TCHAR kRegistryApps[] =
26 _T("Software\\Microsoft\\Windows\\CurrentVersion\\App Paths"); 27 _T("Software\\Microsoft\\Windows\\CurrentVersion\\App Paths");
27 const TCHAR kRegistryFirefox[] = _T("firefox.exe"); 28 const TCHAR kRegistryFirefox[] = _T("firefox.exe");
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 for (size_t i = 0; i < plugins->size(); ++i) { 399 for (size_t i = 0; i < plugins->size(); ++i) {
399 if ((*plugins)[i].path.BaseName().value() == kNewWMPPlugin) 400 if ((*plugins)[i].path.BaseName().value() == kNewWMPPlugin)
400 return false; 401 return false;
401 } 402 }
402 } 403 }
403 404
404 return true; 405 return true;
405 } 406 }
406 407
407 } // namespace NPAPI 408 } // namespace NPAPI
OLDNEW
« no previous file with comments | « webkit/glue/plugins/plugin_list_posix.cc ('k') | webkit/glue/plugins/webplugin_delegate_impl_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698