summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/test/objects_unittest.cc
diff options
context:
space:
mode:
authorrdevlin.cronin <rdevlin.cronin@chromium.org>2015-04-06 10:19:18 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-06 17:35:43 +0000
commit00f1fc22bfcc653b47d62778170af3eee9855720 (patch)
tree2386d4a7e984d7db6f9cfa0c07409a715832993e /tools/json_schema_compiler/test/objects_unittest.cc
parent86b507da14efeb641795641b24c49f57a07ae879 (diff)
downloadchromium_src-00f1fc22bfcc653b47d62778170af3eee9855720.zip
chromium_src-00f1fc22bfcc653b47d62778170af3eee9855720.tar.gz
chromium_src-00f1fc22bfcc653b47d62778170af3eee9855720.tar.bz2
[Extensions API] Remove inline enums
Remove all inlined enums from extension APIs. BUG=472279 TBR=derat@chromium.org (mechanical changes to chrome/browser/chromeos/app_mode/kiosk_app_update_service.cc and chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc) Review URL: https://codereview.chromium.org/1055673002 Cr-Commit-Position: refs/heads/master@{#323912}
Diffstat (limited to 'tools/json_schema_compiler/test/objects_unittest.cc')
-rw-r--r--tools/json_schema_compiler/test/objects_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/json_schema_compiler/test/objects_unittest.cc b/tools/json_schema_compiler/test/objects_unittest.cc
index 6dc2c45..f57300f 100644
--- a/tools/json_schema_compiler/test/objects_unittest.cc
+++ b/tools/json_schema_compiler/test/objects_unittest.cc
@@ -48,7 +48,7 @@ TEST(JsonSchemaCompilerObjectsTest, ObjectParamParamsCreate) {
TEST(JsonSchemaCompilerObjectsTest, ReturnsObjectResultCreate) {
ReturnsObject::Results::Info info;
- info.state = ReturnsObject::Results::Info::STATE_FOO;
+ info.state = FIRST_STATE_FOO;
scoped_ptr<base::ListValue> results = ReturnsObject::Results::Create(info);
base::DictionaryValue expected;
@@ -60,7 +60,7 @@ TEST(JsonSchemaCompilerObjectsTest, ReturnsObjectResultCreate) {
TEST(JsonSchemaCompilerObjectsTest, OnObjectFiredCreate) {
OnObjectFired::SomeObject object;
- object.state = OnObjectFired::SomeObject::STATE_BAR;
+ object.state = FIRST_STATE_BAR;
scoped_ptr<base::ListValue> results(OnObjectFired::Create(object));
base::DictionaryValue expected;