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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 391783003: Enabling CRLSet for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Correcting BUG= 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/net/crl_set_fetcher.cc » ('j') | chrome/browser/net/crl_set_fetcher.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 42f2e7bde04f318da9ed8f6f819a4da412de0162..2f215a7b46cd6337bad1c53addf04610ab23ced1 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -401,14 +401,14 @@ void RegisterComponentsForUpdate(const CommandLine& command_line) {
RegisterCldComponent(cus);
#endif
-#if !defined(OS_CHROMEOS) && !defined(OS_ANDROID)
- // CRLSetFetcher attempts to load a CRL set from either the local disk or
- // network.
- g_browser_process->crl_set_fetcher()->StartInitialLoad(cus);
-#elif defined(OS_ANDROID)
+#if defined(OS_ANDROID)
// The CRLSet component was enabled for some releases. This code attempts to
// delete it from the local disk of those how may have downloaded it.
g_browser_process->crl_set_fetcher()->DeleteFromDisk();
+#else
+ // CRLSetFetcher attempts to load a CRL set from either the local disk or
+ // network.
+ g_browser_process->crl_set_fetcher()->StartInitialLoad(cus);
xiyuan 2014/07/15 07:45:43 The initial load should probably happen after the
#endif
#if defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/browser/net/crl_set_fetcher.cc » ('j') | chrome/browser/net/crl_set_fetcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698