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

Unified Diff: src/platform/update_engine/action_pipe.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
« no previous file with comments | « src/platform/update_engine/action.h ('k') | src/platform/update_engine/action_pipe_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/update_engine/action_pipe.h
diff --git a/src/platform/update_engine/action_pipe.h b/src/platform/update_engine/action_pipe.h
index 509fbee60843f5964a04ce606a9f41fb28775c30..769704327f7b41aa0a2f121220a142bbc42e537b 100644
--- a/src/platform/update_engine/action_pipe.h
+++ b/src/platform/update_engine/action_pipe.h
@@ -29,10 +29,6 @@
// the two Action objects. a shared_ptr is used so that when the last Action
// pointing to an ActionPipe dies, the ActionPipe dies, too.
-using std::map;
-using std::string;
-using std::tr1::shared_ptr;
-
namespace chromeos_update_engine {
// Used by Actions an InputObjectType or OutputObjectType to specify that
@@ -62,7 +58,8 @@ class ActionPipe {
// when the last Action is destroyed.
template<typename FromAction, typename ToAction>
static void Bond(FromAction* from, ToAction* to) {
- shared_ptr<ActionPipe<ObjectType> > pipe(new ActionPipe<ObjectType>);
+ std::tr1::shared_ptr<ActionPipe<ObjectType> > pipe(
+ new ActionPipe<ObjectType>);
from->set_out_pipe(pipe);
to->set_in_pipe(pipe); // If you get an error on this line, then
« no previous file with comments | « src/platform/update_engine/action.h ('k') | src/platform/update_engine/action_pipe_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698