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

Unified Diff: content/browser/renderer_host/java/java_type.h

Issue 336313018: [Android] Move content/browser/{renderer_host => android}/java/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated paths for unit tests, rebased Created 6 years, 6 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 | « content/browser/renderer_host/java/java_method.cc ('k') | content/browser/renderer_host/java/java_type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/java/java_type.h
diff --git a/content/browser/renderer_host/java/java_type.h b/content/browser/renderer_host/java/java_type.h
deleted file mode 100644
index fe7845eeaa69adc5065cf2e3a9f7cce01a92f340..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/java/java_type.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_TYPE_H_
-#define CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_TYPE_H_
-
-#include <string>
-
-#include "base/memory/scoped_ptr.h"
-
-namespace content {
-
-// The type of a Java value. A light-weight enum-like structure intended for
-// use by value and in STL containers.
-struct JavaType {
- JavaType();
- JavaType(const JavaType& other);
- ~JavaType();
- JavaType& operator=(const JavaType& other);
-
- // Java's reflection API represents types as a string using an extended
- // 'binary name'.
- static JavaType CreateFromBinaryName(const std::string& binary_name);
-
- enum Type {
- TypeBoolean,
- TypeByte,
- TypeChar,
- TypeShort,
- TypeInt,
- TypeLong,
- TypeFloat,
- TypeDouble,
- // This is only used as a return type, so we should never convert from
- // JavaScript with this type.
- TypeVoid,
- TypeArray,
- // We special-case strings, as they get special handling when coercing.
- TypeString,
- TypeObject,
- };
-
- Type type;
- scoped_ptr<JavaType> inner_type; // Used for TypeArray only.
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_JAVA_JAVA_TYPE_H_
« no previous file with comments | « content/browser/renderer_host/java/java_method.cc ('k') | content/browser/renderer_host/java/java_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698