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: courgette/courgette.h

Issue 149597: Code changes to get the code to compile under GCC.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « courgette/assembly_program.cc ('k') | courgette/courgette_minimal_tool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/courgette.h
===================================================================
--- courgette/courgette.h (revision 21002)
+++ courgette/courgette.h (working copy)
@@ -5,6 +5,10 @@
#ifndef COURGETTE_COURGETTE_H_
#define COURGETTE_COURGETTE_H_
+#include <stddef.h> // Required to define size_t on GCC
+
+#include "base/file_path.h"
+
namespace courgette {
// Status codes for Courgette APIs.
@@ -44,8 +48,6 @@
C_DISASSEMBLY_FAILED = 25, //
C_ASSEMBLY_FAILED = 26, //
C_ADJUSTMENT_FAILED = 27, //
-
-
};
class SinkStream;
@@ -67,10 +69,11 @@
// Returns C_OK unless something went wrong.
// This function first validates that the patch file has a proper header, so the
// function can be used to 'try' a patch.
-Status ApplyEnsemblePatch(const wchar_t* old_file_name,
- const wchar_t* patch_file_name,
- const wchar_t* new_file_name);
+Status ApplyEnsemblePatch(const FilePath::CharType* old_file_name,
+ const FilePath::CharType* patch_file_name,
+ const FilePath::CharType* new_file_name);
+
// Generates a patch that will transform the bytes in |old| into the bytes in
// |target|.
// Returns C_OK unless something when wrong (unexpected).
Property changes on: courgette/courgette.h
___________________________________________________________________
Name: svn:eol-style
+ LF
« no previous file with comments | « courgette/assembly_program.cc ('k') | courgette/courgette_minimal_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698