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

Side by Side Diff: content/common/android/gin_java_bridge_value.h

Issue 1149113006: Move Pickle to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « content/child/plugin_param_traits.h ('k') | content/common/cc_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_VALUE_H_ 5 #ifndef CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_VALUE_H_
6 #define CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_VALUE_H_ 6 #define CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_VALUE_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/pickle.h" 9 #include "base/pickle.h"
10 #include "base/values.h" 10 #include "base/values.h"
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 CONTENT_EXPORT bool IsType(Type type) const; 48 CONTENT_EXPORT bool IsType(Type type) const;
49 49
50 CONTENT_EXPORT bool GetAsNonFinite(float* out_value) const; 50 CONTENT_EXPORT bool GetAsNonFinite(float* out_value) const;
51 CONTENT_EXPORT bool GetAsObjectID(int32* out_object_id) const; 51 CONTENT_EXPORT bool GetAsObjectID(int32* out_object_id) const;
52 52
53 private: 53 private:
54 explicit GinJavaBridgeValue(Type type); 54 explicit GinJavaBridgeValue(Type type);
55 explicit GinJavaBridgeValue(const base::BinaryValue* value); 55 explicit GinJavaBridgeValue(const base::BinaryValue* value);
56 base::BinaryValue* SerializeToBinaryValue(); 56 base::BinaryValue* SerializeToBinaryValue();
57 57
58 Pickle pickle_; 58 base::Pickle pickle_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeValue); 60 DISALLOW_COPY_AND_ASSIGN(GinJavaBridgeValue);
61 }; 61 };
62 62
63 } // namespace content 63 } // namespace content
64 64
65 #endif // CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_VALUE_H_ 65 #endif // CONTENT_COMMON_ANDROID_GIN_JAVA_BRIDGE_VALUE_H_
OLDNEW
« no previous file with comments | « content/child/plugin_param_traits.h ('k') | content/common/cc_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698