diff options
author | kmarshall <kmarshall@chromium.org> | 2016-02-26 17:23:14 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-27 01:25:01 +0000 |
commit | 8c2c307745574ef1a2334d740036dbd0394603db (patch) | |
tree | eee7a2d83c82eded2c35eb9eca7747a1f6c4cdb0 /blimp | |
parent | 13afe0362f2e09a1bce83cef531a8b25d83b8ffe (diff) | |
download | chromium_src-8c2c307745574ef1a2334d740036dbd0394603db.zip chromium_src-8c2c307745574ef1a2334d740036dbd0394603db.tar.gz chromium_src-8c2c307745574ef1a2334d740036dbd0394603db.tar.bz2 |
Fix minor name mismatch on "navigation_state_changed" field.
Fix minor name mismatch on "navigation_state_changed" BlimpMessage field.
It was "navigation_state_change". This CL adds the missing "d".
R=dtrainor@chromium.org
BUG=
Review URL: https://codereview.chromium.org/1740093003
Cr-Commit-Position: refs/heads/master@{#378056}
Diffstat (limited to 'blimp')
-rw-r--r-- | blimp/client/feature/navigation_feature.cc | 2 | ||||
-rw-r--r-- | blimp/client/feature/navigation_feature_unittest.cc | 2 | ||||
-rw-r--r-- | blimp/common/proto/navigation.proto | 2 | ||||
-rw-r--r-- | blimp/engine/session/blimp_engine_session.cc | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/blimp/client/feature/navigation_feature.cc b/blimp/client/feature/navigation_feature.cc index 43bacec..529ca28 100644 --- a/blimp/client/feature/navigation_feature.cc +++ b/blimp/client/feature/navigation_feature.cc @@ -93,7 +93,7 @@ void NavigationFeature::ProcessMessage( switch (navigation_message.type()) { case NavigationMessage::NAVIGATION_STATE_CHANGED: { const NavigationStateChangeMessage& details = - navigation_message.navigation_state_change(); + navigation_message.navigation_state_changed(); if (details.has_url()) delegate->OnUrlChanged(tab_id, GURL(details.url())); diff --git a/blimp/client/feature/navigation_feature_unittest.cc b/blimp/client/feature/navigation_feature_unittest.cc index e3edbf2..b016e45 100644 --- a/blimp/client/feature/navigation_feature_unittest.cc +++ b/blimp/client/feature/navigation_feature_unittest.cc @@ -41,7 +41,7 @@ void SendMockNavigationStateChangedMessage(BlimpMessageProcessor* processor, CreateBlimpMessage(&navigation_message, tab_id); navigation_message->set_type(NavigationMessage::NAVIGATION_STATE_CHANGED); NavigationStateChangeMessage* state = - navigation_message->mutable_navigation_state_change(); + navigation_message->mutable_navigation_state_changed(); if (url) state->set_url(url->spec()); diff --git a/blimp/common/proto/navigation.proto b/blimp/common/proto/navigation.proto index 7c62503..68b536c 100644 --- a/blimp/common/proto/navigation.proto +++ b/blimp/common/proto/navigation.proto @@ -54,6 +54,6 @@ message NavigationMessage { optional Type type = 1; - optional NavigationStateChangeMessage navigation_state_change = 1000; + optional NavigationStateChangeMessage navigation_state_changed = 1000; optional LoadUrlMessage load_url = 1001; } diff --git a/blimp/engine/session/blimp_engine_session.cc b/blimp/engine/session/blimp_engine_session.cc index 3196722..e867b37 100644 --- a/blimp/engine/session/blimp_engine_session.cc +++ b/blimp/engine/session/blimp_engine_session.cc @@ -459,7 +459,7 @@ void BlimpEngineSession::NavigationStateChanged( CreateBlimpMessage(&navigation_message, kDummyTabId); navigation_message->set_type(NavigationMessage::NAVIGATION_STATE_CHANGED); NavigationStateChangeMessage* details = - navigation_message->mutable_navigation_state_change(); + navigation_message->mutable_navigation_state_changed(); if (changed_flags & content::InvalidateTypes::INVALIDATE_TYPE_URL) details->set_url(source->GetURL().spec()); |