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

Unified Diff: mojo/public/tests/mojom/math_calculator.h

Issue 68683010: Mojo: Generate bindings from math_calculator.mojom. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/tests/mojom/DEPS ('k') | mojo/public/tests/mojom/math_calculator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tests/mojom/math_calculator.h
diff --git a/mojo/public/tests/mojom/math_calculator.h b/mojo/public/tests/mojom/math_calculator.h
deleted file mode 100644
index 3e2713d03c2a73794ba58ff7a4d7a62cd56d14ba..0000000000000000000000000000000000000000
--- a/mojo/public/tests/mojom/math_calculator.h
+++ /dev/null
@@ -1,79 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MOJO_GENERATED_BINDINGS_MATH_CALCULATOR_MATH_CALCULATOR_H_
-#define MOJO_GENERATED_BINDINGS_MATH_CALCULATOR_MATH_CALCULATOR_H_
-
-#include "mojo/public/bindings/lib/bindings.h"
-#include "mojo/public/bindings/lib/message.h"
-
-namespace math {
-
-#pragma pack(push, 1)
-
-
-#pragma pack(pop)
-
-class CalculatorProxy;
-class CalculatorStub;
-class CalculatorUI;
-
-class Calculator {
- public:
- typedef CalculatorProxy _Proxy;
- typedef CalculatorStub _Stub;
- typedef CalculatorUI _Peer;
- virtual void Clear() = 0;
- virtual void Add(double value) = 0;
- virtual void Multiply(double value) = 0;
-};
-
-class CalculatorUIProxy;
-class CalculatorUIStub;
-class Calculator;
-
-class CalculatorUI {
- public:
- typedef CalculatorUIProxy _Proxy;
- typedef CalculatorUIStub _Stub;
- typedef Calculator _Peer;
- virtual void Output(double value) = 0;
-};
-
-class CalculatorProxy : public Calculator {
- public:
- explicit CalculatorProxy(mojo::MessageReceiver* receiver);
-
- virtual void Clear() MOJO_OVERRIDE;
- virtual void Add(double value) MOJO_OVERRIDE;
- virtual void Multiply(double value) MOJO_OVERRIDE;
-
- private:
- mojo::MessageReceiver* receiver_;
-};
-
-class CalculatorUIProxy : public CalculatorUI {
- public:
- explicit CalculatorUIProxy(mojo::MessageReceiver* receiver);
-
- virtual void Output(double value) MOJO_OVERRIDE;
-
- private:
- mojo::MessageReceiver* receiver_;
-};
-
-class CalculatorStub : public Calculator, public mojo::MessageReceiver {
- public:
- virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE;
-};
-
-class CalculatorUIStub : public CalculatorUI, public mojo::MessageReceiver {
- public:
- virtual bool Accept(mojo::Message* message) MOJO_OVERRIDE;
-};
-
-
-} // namespace math
-
-#endif // MOJO_GENERATED_BINDINGS_MATH_CALCULATOR_MATH_CALCULATOR_H_
« no previous file with comments | « mojo/public/tests/mojom/DEPS ('k') | mojo/public/tests/mojom/math_calculator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698