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

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

Issue 417713002: Prioritize CDM updates over pNaCl updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | 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) 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/chrome_browser_main.h" 5 #include "chrome/browser/chrome_browser_main.h"
6 6
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 component_updater::ComponentUpdateService* cus = 384 component_updater::ComponentUpdateService* cus =
385 g_browser_process->component_updater(); 385 g_browser_process->component_updater();
386 386
387 // Registration can be before or after cus->Start() so it is ok to post 387 // Registration can be before or after cus->Start() so it is ok to post
388 // a task to the UI thread to do registration once you done the necessary 388 // a task to the UI thread to do registration once you done the necessary
389 // file IO to know you existing component version. 389 // file IO to know you existing component version.
390 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) 390 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
391 RegisterRecoveryComponent(cus, g_browser_process->local_state()); 391 RegisterRecoveryComponent(cus, g_browser_process->local_state());
392 RegisterPepperFlashComponent(cus); 392 RegisterPepperFlashComponent(cus);
393 RegisterSwiftShaderComponent(cus); 393 RegisterSwiftShaderComponent(cus);
394 RegisterWidevineCdmComponent(cus);
394 g_browser_process->pnacl_component_installer()->RegisterPnaclComponent(cus); 395 g_browser_process->pnacl_component_installer()->RegisterPnaclComponent(cus);
395 RegisterWidevineCdmComponent(cus);
396 #endif 396 #endif
397 397
398 #if defined(CLD_DATA_FROM_COMPONENT) 398 #if defined(CLD_DATA_FROM_COMPONENT)
399 RegisterCldComponent(cus); 399 RegisterCldComponent(cus);
400 #endif 400 #endif
401 401
402 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) 402 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
403 // CRLSetFetcher attempts to load a CRL set from either the local disk or 403 // CRLSetFetcher attempts to load a CRL set from either the local disk or
404 // network. 404 // network.
405 g_browser_process->crl_set_fetcher()->StartInitialLoad(cus); 405 g_browser_process->crl_set_fetcher()->StartInitialLoad(cus);
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1651 chromeos::CrosSettings::Shutdown(); 1651 chromeos::CrosSettings::Shutdown();
1652 #endif 1652 #endif
1653 #endif 1653 #endif
1654 } 1654 }
1655 1655
1656 // Public members: 1656 // Public members:
1657 1657
1658 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) { 1658 void ChromeBrowserMainParts::AddParts(ChromeBrowserMainExtraParts* parts) {
1659 chrome_extra_parts_.push_back(parts); 1659 chrome_extra_parts_.push_back(parts);
1660 } 1660 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698