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

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

Issue 10980010: Cleanup the IPC param traits structure (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix android Created 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/importer/profile_import_process_messages.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) 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/component_updater/component_updater_service.h" 5 #include "chrome/browser/component_updater/component_updater_service.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/at_exit.h" 10 #include "base/at_exit.h"
(...skipping 15 matching lines...) Expand all
26 #include "chrome/common/chrome_version_info.h" 26 #include "chrome/common/chrome_version_info.h"
27 #include "chrome/common/extensions/extension.h" 27 #include "chrome/common/extensions/extension.h"
28 #include "content/public/browser/notification_service.h" 28 #include "content/public/browser/notification_service.h"
29 #include "content/public/browser/utility_process_host.h" 29 #include "content/public/browser/utility_process_host.h"
30 #include "content/public/browser/utility_process_host_client.h" 30 #include "content/public/browser/utility_process_host_client.h"
31 #include "googleurl/src/gurl.h" 31 #include "googleurl/src/gurl.h"
32 #include "net/base/escape.h" 32 #include "net/base/escape.h"
33 #include "net/base/load_flags.h" 33 #include "net/base/load_flags.h"
34 #include "net/url_request/url_fetcher.h" 34 #include "net/url_request/url_fetcher.h"
35 #include "net/url_request/url_fetcher_delegate.h" 35 #include "net/url_request/url_fetcher_delegate.h"
36 #include "net/url_request/url_request_status.h"
36 37
37 using content::BrowserThread; 38 using content::BrowserThread;
38 using content::UtilityProcessHost; 39 using content::UtilityProcessHost;
39 using content::UtilityProcessHostClient; 40 using content::UtilityProcessHostClient;
40 using extensions::Extension; 41 using extensions::Extension;
41 42
42 // The component updater is designed to live until process shutdown, so 43 // The component updater is designed to live until process shutdown, so
43 // base::Bind() calls are not refcounted. 44 // base::Bind() calls are not refcounted.
44 45
45 namespace { 46 namespace {
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 ScheduleNextRun(false); 770 ScheduleNextRun(false);
770 } 771 }
771 772
772 // The component update factory. Using the component updater as a singleton 773 // The component update factory. Using the component updater as a singleton
773 // is the job of the browser process. 774 // is the job of the browser process.
774 ComponentUpdateService* ComponentUpdateServiceFactory( 775 ComponentUpdateService* ComponentUpdateServiceFactory(
775 ComponentUpdateService::Configurator* config) { 776 ComponentUpdateService::Configurator* config) {
776 DCHECK(config); 777 DCHECK(config);
777 return new CrxUpdateService(config); 778 return new CrxUpdateService(config);
778 } 779 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/importer/profile_import_process_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698