summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-18 04:15:18 +0000
committerlipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-18 04:15:18 +0000
commitc82fff39dc1ec203edea9c67d51e7c6ef5fbdeb1 (patch)
tree10714200975263d1acc832aa9c43b4f2e6880a41
parent2ef56f868f6a86354458ab3e2142344fa0b14410 (diff)
downloadchromium_src-c82fff39dc1ec203edea9c67d51e7c6ef5fbdeb1.zip
chromium_src-c82fff39dc1ec203edea9c67d51e7c6ef5fbdeb1.tar.gz
chromium_src-c82fff39dc1ec203edea9c67d51e7c6ef5fbdeb1.tar.bz2
Fixing typos
BUG=170375 Review URL: https://chromiumcodereview.appspot.com/23654030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223795 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h2
-rw-r--r--chrome/browser/sync/glue/device_info.cc6
-rw-r--r--chrome/common/extensions/api/signed_in_devices.idl2
3 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h
index 07028f1..f093ba2 100644
--- a/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h
+++ b/chrome/browser/extensions/api/signed_in_devices/signed_in_devices_api.h
@@ -43,7 +43,7 @@ class SignedInDevicesGetFunction : public SyncExtensionFunction {
// ExtensionFunction:
virtual bool RunImpl() OVERRIDE;
- DECLARE_EXTENSION_FUNCTION("SignedInDevices.get", SIGNED_IN_DEVICES_GET)
+ DECLARE_EXTENSION_FUNCTION("signedInDevices.get", SIGNED_IN_DEVICES_GET)
};
} // namespace extensions
diff --git a/chrome/browser/sync/glue/device_info.cc b/chrome/browser/sync/glue/device_info.cc
index dc21190..ab17542 100644
--- a/chrome/browser/sync/glue/device_info.cc
+++ b/chrome/browser/sync/glue/device_info.cc
@@ -186,11 +186,11 @@ std::string DeviceInfo::MakeUserAgentForSyncApi(
base::DictionaryValue* DeviceInfo::ToValue() {
base::DictionaryValue* value = new base::DictionaryValue();
- value->SetString("id", public_id_);
value->SetString("name", client_name_);
- value->SetString("chromeVersion", chrome_version_);
+ value->SetString("id", public_id_);
value->SetString("os", GetOS(device_type_));
- value->SetString("Device Type", DeviceTypeToString(device_type_));
+ value->SetString("type", DeviceTypeToString(device_type_));
+ value->SetString("chromeVersion", chrome_version_);
return value;
}
diff --git a/chrome/common/extensions/api/signed_in_devices.idl b/chrome/common/extensions/api/signed_in_devices.idl
index aa8196e..15a421a 100644
--- a/chrome/common/extensions/api/signed_in_devices.idl
+++ b/chrome/common/extensions/api/signed_in_devices.idl
@@ -52,7 +52,7 @@ namespace signedInDevices {
// device.
// |callback|: The callback to be invoked with the array of DeviceInfo
// objects.
- static void Get(optional boolean isLocal, DeviceInfoCallback callback);
+ static void get(optional boolean isLocal, DeviceInfoCallback callback);
};
interface Events {