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

Unified Diff: chrome/browser/component_updater/chrome_component_updater_configurator.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: fix DEPS order 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/component_updater/chrome_component_updater_configurator.cc
diff --git a/chrome/browser/component_updater/component_updater_configurator.cc b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
similarity index 98%
rename from chrome/browser/component_updater/component_updater_configurator.cc
rename to chrome/browser/component_updater/chrome_component_updater_configurator.cc
index 3d403bb047a91e639d9bac647e7872bae9504222..585bdecf32bab021e53c7697ad7d988370edaa7b 100644
--- a/chrome/browser/component_updater/component_updater_configurator.cc
+++ b/chrome/browser/component_updater/chrome_component_updater_configurator.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/component_updater/component_updater_configurator.h"
+#include "chrome/browser/component_updater/chrome_component_updater_configurator.h"
#include <algorithm>
#include <string>
@@ -16,6 +16,7 @@
#include "chrome/browser/component_updater/component_patcher_operation_out_of_process.h"
#include "chrome/browser/omaha_query_params/chrome_omaha_query_params_delegate.h"
#include "chrome/common/chrome_version_info.h"
+#include "components/component_updater/component_updater_configurator.h"
#include "components/component_updater/component_updater_switches.h"
#include "content/public/browser/browser_thread.h"
#include "net/url_request/url_request_context_getter.h"
@@ -89,8 +90,6 @@ std::string GetSwitchArgument(const std::vector<std::string>& vec,
return std::string();
}
-} // namespace
-
class ChromeConfigurator : public Configurator {
public:
ChromeConfigurator(const CommandLine* cmdline,
@@ -252,6 +251,8 @@ ChromeConfigurator::GetSingleThreadTaskRunner() const {
content::BrowserThread::FILE);
}
+} // namespace
+
Configurator* MakeChromeComponentUpdaterConfigurator(
const base::CommandLine* cmdline,
net::URLRequestContextGetter* context_getter) {

Powered by Google App Engine
This is Rietveld 408576698