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

Side by Side Diff: chrome/browser/component_updater/widevine_cdm_component_installer.cc

Issue 449643002: Componentize component_updater: Move over a bunch of files to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/component_updater/widevine_cdm_component_installer.h" 5 #include "chrome/browser/component_updater/widevine_cdm_component_installer.h"
6 6
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/base_paths.h" 12 #include "base/base_paths.h"
13 #include "base/bind.h" 13 #include "base/bind.h"
14 #include "base/compiler_specific.h" 14 #include "base/compiler_specific.h"
15 #include "base/file_util.h" 15 #include "base/file_util.h"
16 #include "base/files/file_path.h" 16 #include "base/files/file_path.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/path_service.h" 18 #include "base/path_service.h"
19 #include "base/strings/string16.h" 19 #include "base/strings/string16.h"
20 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/string_split.h" 21 #include "base/strings/string_split.h"
22 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
23 #include "base/values.h" 23 #include "base/values.h"
24 #include "build/build_config.h" 24 #include "build/build_config.h"
25 #include "chrome/browser/component_updater/component_updater_service.h"
26 #include "chrome/browser/component_updater/default_component_installer.h"
27 #include "chrome/common/chrome_paths.h" 25 #include "chrome/common/chrome_paths.h"
28 #include "chrome/common/chrome_version_info.h" 26 #include "chrome/common/chrome_version_info.h"
29 #include "chrome/common/widevine_cdm_constants.h" 27 #include "chrome/common/widevine_cdm_constants.h"
28 #include "components/component_updater/component_updater_service.h"
29 #include "components/component_updater/default_component_installer.h"
30 #include "content/public/browser/browser_thread.h" 30 #include "content/public/browser/browser_thread.h"
31 #include "content/public/browser/plugin_service.h" 31 #include "content/public/browser/plugin_service.h"
32 #include "content/public/common/pepper_plugin_info.h" 32 #include "content/public/common/pepper_plugin_info.h"
33 #include "media/cdm/ppapi/supported_cdm_versions.h" 33 #include "media/cdm/ppapi/supported_cdm_versions.h"
34 #include "third_party/widevine/cdm/widevine_cdm_common.h" 34 #include "third_party/widevine/cdm/widevine_cdm_common.h"
35 35
36 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. NOLINT 36 #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR. NOLINT
37 37
38 using content::BrowserThread; 38 using content::BrowserThread;
39 using content::PluginService; 39 using content::PluginService;
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 // |cus| will take ownership of |installer| during installer->Register(cus). 368 // |cus| will take ownership of |installer| during installer->Register(cus).
369 DefaultComponentInstaller* installer = 369 DefaultComponentInstaller* installer =
370 new DefaultComponentInstaller(traits.Pass()); 370 new DefaultComponentInstaller(traits.Pass());
371 installer->Register(cus); 371 installer->Register(cus);
372 #else 372 #else
373 return; 373 return;
374 #endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(WIDEVINE_CDM_IS_COMPONENT) 374 #endif // defined(WIDEVINE_CDM_AVAILABLE) && defined(WIDEVINE_CDM_IS_COMPONENT)
375 } 375 }
376 376
377 } // namespace component_updater 377 } // namespace component_updater
OLDNEW
« no previous file with comments | « chrome/browser/component_updater/url_fetcher_downloader.cc ('k') | chrome/browser/net/crl_set_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698