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

Side by Side Diff: components/component_updater/component_updater_service.h

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: add more checked casts 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ 5 #ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ 6 #define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/version.h" 14 #include "base/version.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 virtual ComponentUpdateService::Status OnDemandUpdate( 220 virtual ComponentUpdateService::Status OnDemandUpdate(
221 const std::string& component_id) = 0; 221 const std::string& component_id) = 0;
222 }; 222 };
223 223
224 // Creates the component updater. You must pass a valid |config| allocated on 224 // Creates the component updater. You must pass a valid |config| allocated on
225 // the heap which the component updater will own. 225 // the heap which the component updater will own.
226 ComponentUpdateService* ComponentUpdateServiceFactory(Configurator* config); 226 ComponentUpdateService* ComponentUpdateServiceFactory(Configurator* config);
227 227
228 } // namespace component_updater 228 } // namespace component_updater
229 229
230 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_ 230 #endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698