| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |