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

Unified Diff: src/platform/update_engine/filesystem_copier_action.h

Issue 492008: AU: Try delta updates first, then full updates (Closed)
Patch Set: use mkstemp Created 11 years 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: src/platform/update_engine/filesystem_copier_action.h
diff --git a/src/platform/update_engine/filesystem_copier_action.h b/src/platform/update_engine/filesystem_copier_action.h
index 8f0dc06d547d2cf12f47638c03ea5234eb968cec..3a330efd5b3ed6b065c3da5bc01a94d538bd0caa 100644
--- a/src/platform/update_engine/filesystem_copier_action.h
+++ b/src/platform/update_engine/filesystem_copier_action.h
@@ -61,7 +61,7 @@ class FilesystemCopierAction : public Action<FilesystemCopierAction> {
void TerminateProcessing();
// Used for testing, so we can copy from somewhere other than root
- void set_copy_source(const string& path) {
+ void set_copy_source(const std::string& path) {
copy_source_ = path;
}
// Returns true if we detected that a copy was unneeded and thus skipped it.
@@ -73,8 +73,8 @@ class FilesystemCopierAction : public Action<FilesystemCopierAction> {
private:
// These synchronously mount or unmount the given mountpoint
- bool Mount(const string& device, const string& mountpoint);
- bool Unmount(const string& mountpoint);
+ bool Mount(const std::string& device, const std::string& mountpoint);
+ bool Unmount(const std::string& mountpoint);
// Performs a recursive file/directory copy from copy_source_ to dest_path_.
// Doesn't return until the copy has completed. Returns true on success
@@ -127,11 +127,11 @@ class FilesystemCopierAction : public Action<FilesystemCopierAction> {
bool is_mounted_;
// Where the destination device is mounted.
- string dest_path_;
+ std::string dest_path_;
// The path to copy from. Usually left as the default "/", but tests can
// change it.
- string copy_source_;
+ std::string copy_source_;
// The install plan we're passed in via the input pipe.
InstallPlan install_plan_;
« no previous file with comments | « src/platform/update_engine/download_action_unittest.cc ('k') | src/platform/update_engine/filesystem_copier_action.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698