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

Unified Diff: components/update_client/utils.h

Issue 808773005: Move most of the component updater artifacts to update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: components/update_client/utils.h
diff --git a/components/component_updater/component_updater_utils.h b/components/update_client/utils.h
similarity index 92%
rename from components/component_updater/component_updater_utils.h
rename to components/update_client/utils.h
index ad2b5983bacb65f16ea30d1017842005a1dbcb76..297eb976cbaf15957f43eb53d07b2365f683a4a6 100644
--- a/components/component_updater/component_updater_utils.h
+++ b/components/update_client/utils.h
@@ -2,12 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_
-#define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_
+#ifndef COMPONENTS_UPDATE_CLIENT_UTILS_H_
+#define COMPONENTS_UPDATE_CLIENT_UTILS_H_
#include <string>
-struct CrxComponent;
class GURL;
namespace base {
@@ -20,9 +19,10 @@ class URLFetcherDelegate;
class URLRequestContextGetter;
}
-namespace component_updater {
+namespace update_client {
class Configurator;
+struct CrxComponent;
struct CrxUpdateItem;
// An update protocol request starts with a common preamble which includes
@@ -85,6 +85,6 @@ bool DeleteFileAndEmptyParentDirectory(const base::FilePath& filepath);
// format similar with the format of an extension id.
std::string GetCrxComponentID(const CrxComponent& component);
-} // namespace component_updater
+} // namespace update_client
-#endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UPDATER_UTILS_H_
+#endif // COMPONENTS_UPDATE_CLIENT_UTILS_H_

Powered by Google App Engine
This is Rietveld 408576698