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

Side by Side Diff: chrome/default_plugin/plugin_database_handler.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, 2 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
« no previous file with comments | « chrome/common/zip.cc ('k') | chrome/installer/util/compat_checks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "chrome/default_plugin/plugin_database_handler.h" 5 #include "chrome/default_plugin/plugin_database_handler.h"
6 6
7 #include "libxml/parser.h" 7 #include "libxml/parser.h"
8 #include "libxml/xpath.h" 8 #include "libxml/xpath.h"
9 9
10 #include "base/file_util.h" 10 #include "base/file_util.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/string_number_conversions.h" 12 #include "base/string_number_conversions.h"
13 #include "base/string_split.h"
13 #include "base/string_util.h" 14 #include "base/string_util.h"
14 #include "base/time.h" 15 #include "base/time.h"
15 #include "base/utf_string_conversions.h" 16 #include "base/utf_string_conversions.h"
16 #include "chrome/default_plugin/plugin_impl.h" 17 #include "chrome/default_plugin/plugin_impl.h"
17 #include "chrome/default_plugin/plugin_main.h" 18 #include "chrome/default_plugin/plugin_main.h"
18 19
19 using base::Time; 20 using base::Time;
20 using base::TimeDelta; 21 using base::TimeDelta;
21 22
22 PluginDatabaseHandler::PluginDatabaseHandler( 23 PluginDatabaseHandler::PluginDatabaseHandler(
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 reinterpret_cast<const char*>(plugin_download_url_val->content); 347 reinterpret_cast<const char*>(plugin_download_url_val->content);
347 348
348 SplitString(reinterpret_cast<const char*>(plugin_mime_type_vals->content), 349 SplitString(reinterpret_cast<const char*>(plugin_mime_type_vals->content),
349 kMimeTypeSeparator, &plugin_detail->mime_types); 350 kMimeTypeSeparator, &plugin_detail->mime_types);
350 351
351 plugin_detail->language = 352 plugin_detail->language =
352 reinterpret_cast<const char*>(plugin_lang_val->content); 353 reinterpret_cast<const char*>(plugin_lang_val->content);
353 354
354 return true; 355 return true;
355 } 356 }
OLDNEW
« no previous file with comments | « chrome/common/zip.cc ('k') | chrome/installer/util/compat_checks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698