| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/android/data_usage/data_use_ui_tab_model.h" | 5 #include "chrome/browser/android/data_usage/data_use_ui_tab_model.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 7 #include <stdint.h> | 8 #include <stdint.h> |
| 8 | 9 |
| 10 #include "base/macros.h" |
| 9 #include "base/run_loop.h" | 11 #include "base/run_loop.h" |
| 10 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
| 11 #include "chrome/browser/android/data_usage/data_use_tab_model.h" | 13 #include "chrome/browser/android/data_usage/data_use_tab_model.h" |
| 12 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" | 14 #include "chrome/browser/android/data_usage/data_use_ui_tab_model_factory.h" |
| 13 #include "chrome/browser/android/data_usage/external_data_use_observer.h" | 15 #include "chrome/browser/android/data_usage/external_data_use_observer.h" |
| 14 #include "chrome/browser/profiles/profile.h" | 16 #include "chrome/browser/profiles/profile.h" |
| 15 #include "chrome/browser/sessions/session_tab_helper.h" | 17 #include "chrome/browser/sessions/session_tab_helper.h" |
| 16 #include "components/data_usage/core/data_use_aggregator.h" | 18 #include "components/data_usage/core/data_use_aggregator.h" |
| 17 #include "components/data_usage/core/data_use_amortizer.h" | 19 #include "components/data_usage/core/data_use_amortizer.h" |
| 18 #include "components/data_usage/core/data_use_annotator.h" | 20 #include "components/data_usage/core/data_use_annotator.h" |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 EXPECT_FALSE(data_use_ui_tab_model()->ConvertTransitionType( | 317 EXPECT_FALSE(data_use_ui_tab_model()->ConvertTransitionType( |
| 316 ui::PageTransition(ui::PAGE_TRANSITION_MANUAL_SUBFRAME), | 318 ui::PageTransition(ui::PAGE_TRANSITION_MANUAL_SUBFRAME), |
| 317 &transition_type)); | 319 &transition_type)); |
| 318 EXPECT_FALSE(data_use_ui_tab_model()->ConvertTransitionType( | 320 EXPECT_FALSE(data_use_ui_tab_model()->ConvertTransitionType( |
| 319 ui::PageTransition(ui::PAGE_TRANSITION_FORM_SUBMIT), &transition_type)); | 321 ui::PageTransition(ui::PAGE_TRANSITION_FORM_SUBMIT), &transition_type)); |
| 320 } | 322 } |
| 321 | 323 |
| 322 } // namespace android | 324 } // namespace android |
| 323 | 325 |
| 324 } // namespace chrome | 326 } // namespace chrome |
| OLD | NEW |