Chromium Code Reviews| Index: chrome/browser/android/data_usage/data_use_ui_tab_model.h |
| diff --git a/chrome/browser/android/data_usage/data_use_ui_tab_model.h b/chrome/browser/android/data_usage/data_use_ui_tab_model.h |
| index 34838b8d3ed6f2bbfab1683b29a7e0367ca210c0..860d08a3ef57467622058e85ea11120ea62c47b2 100644 |
| --- a/chrome/browser/android/data_usage/data_use_ui_tab_model.h |
| +++ b/chrome/browser/android/data_usage/data_use_ui_tab_model.h |
| @@ -124,12 +124,13 @@ class DataUseUITabModel : public KeyedService, |
| // returns true. Otherwise, returns false without modifying the entry. |
| bool RemoveTabEvent(SessionID::id_type tab_id, DataUseTrackingEvent event); |
| - // Converts |page_transition| to DataUseTabModel::TransitionType enum. |
| - // Returns true if conversion was successful, and updates |transition_type|. |
| - // Otherwise, returns false, and |transition_type| is not changed. |
| - // |transition_type| must not be null. |
| + // Converts transition |page_transition| for page url |gurl| to |
|
tbansal1
2016/03/17 23:16:53
s/Converts transition |page_transition| for page u
Raj
2016/03/18 00:45:49
Done.
|
| + // DataUseTabModel::TransitionType enum. Returns true if conversion was |
| + // successful, and updates |transition_type|. Otherwise, returns false, and |
| + // |transition_type| is not changed. |transition_type| must not be null. |
| bool ConvertTransitionType( |
| ui::PageTransition page_transition, |
| + const GURL& gurl, |
| DataUseTabModel::TransitionType* transition_type) const; |
| // |tab_events_| stores tracking events of multiple tabs. |