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

Side by Side Diff: mojo/public/bindings/sample/sample_test.cc

Issue 53173008: Add mojom_bindings_generator.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing gypi file Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include <stdio.h> 5 #include <stdio.h>
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "mojo/public/bindings/sample/generated/sample_service.h" 9 #include "mojom/sample_service.h"
10 10
11 namespace sample { 11 namespace sample {
12 12
13 static void PrintSpacer(int depth) { 13 static void PrintSpacer(int depth) {
14 for (int i = 0; i < depth; ++i) 14 for (int i = 0; i < depth; ++i)
15 printf(" "); 15 printf(" ");
16 } 16 }
17 17
18 static void Print(int depth, const char* name, bool value) { 18 static void Print(int depth, const char* name, bool value) {
19 PrintSpacer(depth); 19 PrintSpacer(depth);
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 172
173 service->Frobinate(foo, true, port); 173 service->Frobinate(foo, true, port);
174 } 174 }
175 175
176 } // namespace sample 176 } // namespace sample
177 177
178 int main() { 178 int main() {
179 sample::Exercise(); 179 sample::Exercise();
180 return 0; 180 return 0;
181 } 181 }
OLDNEW
« build/mojom_bindings_generator.gypi ('K') | « mojo/public/bindings/sample/sample_service.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698