Fix indentation of iOS implementation

This commit is contained in:
Collin Jackson 2016-01-21 14:55:19 -08:00
parent ac1734aaed
commit cd05f5f4ca
2 changed files with 6 additions and 5 deletions

View File

@ -35,13 +35,13 @@ class FirebaseImpl : public ::firebase::Firebase {
void AddChildEventListener(
::firebase::ChildEventListenerPtr listener) override;
void ObserveSingleEventOfType(
::firebase::EventType eventType,
const ObserveSingleEventOfTypeCallback& callback) override;
::firebase::EventType eventType,
const ObserveSingleEventOfTypeCallback& callback) override;
void AuthWithOAuthToken(
const mojo::String& provider,
const mojo::String& credentials,
const AuthWithOAuthTokenCallback& callback) override;
void FirebaseImpl::SetValue(const mojo::String& url);
void SetValue(const mojo::String& jsonValue);
private:
mojo::StrongBinding<::firebase::Firebase> binding_;

View File

@ -159,8 +159,9 @@ void FirebaseImpl::AuthWithOAuthToken(
}];
}
void FirebaseImpl::SetValue(const mojo::String& url) {
[client_ setValue:@(url.data())];
void FirebaseImpl::SetValue(const mojo::String& jsonValue) {
// TODO(jackson): JSON deserialization
[client_ setValue:@(jsonValue.data())];
}
void FirebaseFactory::Create(