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

Side by Side Diff: courgette/assembly_program.h

Issue 1837483003: Move base::FreeDeleter into its own header. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COURGETTE_ASSEMBLY_PROGRAM_H_ 5 #ifndef COURGETTE_ASSEMBLY_PROGRAM_H_
6 #define COURGETTE_ASSEMBLY_PROGRAM_H_ 6 #define COURGETTE_ASSEMBLY_PROGRAM_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <set> 12 #include <set>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/macros.h" 15 #include "base/macros.h"
16 #include "base/memory/free_deleter.h"
16 #include "base/memory/scoped_ptr.h" 17 #include "base/memory/scoped_ptr.h"
17 #include "courgette/courgette.h" 18 #include "courgette/courgette.h"
18 #include "courgette/image_utils.h" 19 #include "courgette/image_utils.h"
19 #include "courgette/label_manager.h" 20 #include "courgette/label_manager.h"
20 #include "courgette/memory_allocator.h" 21 #include "courgette/memory_allocator.h"
21 22
22 namespace courgette { 23 namespace courgette {
23 24
24 class EncodedProgram; 25 class EncodedProgram;
25 26
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 194
194 // Converts |program| into encoded form, returning it as |*output|. 195 // Converts |program| into encoded form, returning it as |*output|.
195 // Returns C_OK if succeeded, otherwise returns an error status and sets 196 // Returns C_OK if succeeded, otherwise returns an error status and sets
196 // |*output| to null. 197 // |*output| to null.
197 Status Encode(const AssemblyProgram& program, 198 Status Encode(const AssemblyProgram& program,
198 scoped_ptr<EncodedProgram>* output); 199 scoped_ptr<EncodedProgram>* output);
199 200
200 } // namespace courgette 201 } // namespace courgette
201 202
202 #endif // COURGETTE_ASSEMBLY_PROGRAM_H_ 203 #endif // COURGETTE_ASSEMBLY_PROGRAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698