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

Side by Side Diff: chrome/default_plugin/plugin_database_handler.cc

Issue 2813047: Move default_plugin from webkit/ to chrome/ (Closed)
Patch Set: fix windows? Created 10 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
« no previous file with comments | « chrome/default_plugin/plugin_database_handler.h ('k') | chrome/default_plugin/plugin_impl.h » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/default_plugin/plugin_database_handler.h" 5 #include "chrome/default_plugin/plugin_database_handler.h"
6 6
7 #if defined(USE_SYSTEM_LIBXML) 7 #if defined(USE_SYSTEM_LIBXML)
8 #include <parser.h> 8 #include <parser.h>
9 #include <xpath.h> 9 #include <xpath.h>
10 #else 10 #else
11 #include "third_party/libxml/include/libxml/parser.h" 11 #include "third_party/libxml/include/libxml/parser.h"
12 #include "third_party/libxml/include/libxml/xpath.h" 12 #include "third_party/libxml/include/libxml/xpath.h"
13 #endif 13 #endif
14 14
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/string_util.h" 17 #include "base/string_util.h"
18 #include "base/time.h" 18 #include "base/time.h"
19 #include "base/utf_string_conversions.h" 19 #include "base/utf_string_conversions.h"
20 #include "webkit/default_plugin/plugin_impl.h" 20 #include "chrome/default_plugin/plugin_impl.h"
21 #include "webkit/default_plugin/plugin_main.h" 21 #include "chrome/default_plugin/plugin_main.h"
22 22
23 using base::Time; 23 using base::Time;
24 using base::TimeDelta; 24 using base::TimeDelta;
25 25
26 PluginDatabaseHandler::PluginDatabaseHandler( 26 PluginDatabaseHandler::PluginDatabaseHandler(
27 PluginInstallerImpl& plugin_installer_instance) 27 PluginInstallerImpl& plugin_installer_instance)
28 : plugin_downloads_file_(INVALID_HANDLE_VALUE), 28 : plugin_downloads_file_(INVALID_HANDLE_VALUE),
29 plugin_installer_instance_(plugin_installer_instance), 29 plugin_installer_instance_(plugin_installer_instance),
30 ignore_plugin_db_data_(false) { 30 ignore_plugin_db_data_(false) {
31 } 31 }
(...skipping 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 reinterpret_cast<const char*>(plugin_download_url_val->content); 349 reinterpret_cast<const char*>(plugin_download_url_val->content);
350 350
351 SplitString(reinterpret_cast<const char*>(plugin_mime_type_vals->content), 351 SplitString(reinterpret_cast<const char*>(plugin_mime_type_vals->content),
352 kMimeTypeSeparator, &plugin_detail->mime_types); 352 kMimeTypeSeparator, &plugin_detail->mime_types);
353 353
354 plugin_detail->language = 354 plugin_detail->language =
355 reinterpret_cast<const char*>(plugin_lang_val->content); 355 reinterpret_cast<const char*>(plugin_lang_val->content);
356 356
357 return true; 357 return true;
358 } 358 }
OLDNEW
« no previous file with comments | « chrome/default_plugin/plugin_database_handler.h ('k') | chrome/default_plugin/plugin_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698