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

Unified Diff: sky/tools/packager/switches.cc

Issue 1178213003: Introduce sky_packager (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « sky/tools/packager/switches.h ('k') | sky/tools/packager/vm.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/packager/switches.cc
diff --git a/base/test/malloc_wrapper.cc b/sky/tools/packager/switches.cc
similarity index 57%
copy from base/test/malloc_wrapper.cc
copy to sky/tools/packager/switches.cc
index eb280a3eeea52f49e534c7c5e3f6f7a40e80a750..cf867e228d61b8ce1a6465485f17b8dbfce02715 100644
--- a/base/test/malloc_wrapper.cc
+++ b/sky/tools/packager/switches.cc
@@ -2,10 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "malloc_wrapper.h"
+#include "sky/tools/packager/switches.h"
-#include <stdlib.h>
-
-void* MallocWrapper(size_t size) {
- return malloc(size);
-}
+const char kPackageRoot[] = "package-root";
+const char kSnapshot[] = "snapshot";
« no previous file with comments | « sky/tools/packager/switches.h ('k') | sky/tools/packager/vm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698