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

Unified Diff: components/update_client/component_unpacker.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/component_unpacker.h
diff --git a/components/component_updater/component_unpacker.h b/components/update_client/component_unpacker.h
similarity index 92%
rename from components/component_updater/component_unpacker.h
rename to components/update_client/component_unpacker.h
index 97d57dc79b6e950c8744f717bb4498d5c10f8bd8..7c2b6efcebbfcbf554eb91b153b0aa3d231a4fb5 100644
--- a/components/component_updater/component_unpacker.h
+++ b/components/update_client/component_unpacker.h
@@ -2,8 +2,8 @@
// 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_UNPACKER_H_
-#define COMPONENTS_COMPONENT_UPDATER_COMPONENT_UNPACKER_H_
+#ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_UNPACKER_H_
+#define COMPONENTS_UPDATE_CLIENT_COMPONENT_UNPACKER_H_
#include <stdint.h>
#include <string>
@@ -17,7 +17,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/sequenced_task_runner.h"
-namespace component_updater {
+namespace update_client {
class ComponentInstaller;
class ComponentPatcher;
@@ -99,7 +99,7 @@ class ComponentUnpacker : public base::RefCountedThreadSafe<ComponentUnpacker> {
const base::FilePath& path,
const std::string& fingerprint,
ComponentInstaller* installer,
- scoped_refptr<OutOfProcessPatcher> out_of_process_patcher,
+ scoped_refptr<OutOfProcessPatcher> oop_patcher,
scoped_refptr<base::SequencedTaskRunner> task_runner);
// Begins the actual unpacking of the files. May invoke a patcher if the
@@ -149,7 +149,7 @@ class ComponentUnpacker : public base::RefCountedThreadSafe<ComponentUnpacker> {
scoped_refptr<ComponentPatcher> patcher_;
ComponentInstaller* installer_;
Callback callback_;
- scoped_refptr<OutOfProcessPatcher> out_of_process_patcher_;
+ scoped_refptr<OutOfProcessPatcher> oop_patcher_;
Error error_;
int extended_error_;
scoped_refptr<base::SequencedTaskRunner> task_runner_;
@@ -157,6 +157,6 @@ class ComponentUnpacker : public base::RefCountedThreadSafe<ComponentUnpacker> {
DISALLOW_COPY_AND_ASSIGN(ComponentUnpacker);
};
-} // namespace component_updater
+} // namespace update_client
-#endif // COMPONENTS_COMPONENT_UPDATER_COMPONENT_UNPACKER_H_
+#endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_UNPACKER_H_

Powered by Google App Engine
This is Rietveld 408576698