| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVICE_H_ |
| 6 #define CHROME_BROWSER_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVICE_H_ | 6 #define CHROME_BROWSER_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVICE_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "components/keyed_service/core/keyed_service.h" | 11 #include "components/keyed_service/core/keyed_service.h" |
| 12 | 12 |
| 13 class IOThread; | |
| 14 | |
| 15 namespace content { | 13 namespace content { |
| 16 class NavigationHandle; | 14 class NavigationHandle; |
| 17 class RenderFrameHost; | 15 class RenderFrameHost; |
| 18 } | 16 } |
| 19 | 17 |
| 20 namespace data_use_measurement { | 18 namespace data_use_measurement { |
| 21 class ChromeDataUseAscriber; | 19 class ChromeDataUseAscriber; |
| 22 | 20 |
| 23 // UI thread functionality of ChromeDataUseAscriber. | 21 // UI thread functionality of ChromeDataUseAscriber. |
| 24 // | 22 // |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // is set. The RenderFrameHost pointers in the queues are valid for the | 76 // is set. The RenderFrameHost pointers in the queues are valid for the |
| 79 // duration that they are in the queue. | 77 // duration that they are in the queue. |
| 80 std::list<content::RenderFrameHost*> pending_frames_queue_; | 78 std::list<content::RenderFrameHost*> pending_frames_queue_; |
| 81 | 79 |
| 82 DISALLOW_COPY_AND_ASSIGN(ChromeDataUseAscriberService); | 80 DISALLOW_COPY_AND_ASSIGN(ChromeDataUseAscriberService); |
| 83 }; | 81 }; |
| 84 | 82 |
| 85 } // namespace data_use_measurement | 83 } // namespace data_use_measurement |
| 86 | 84 |
| 87 #endif // CHROME_BROWSER_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVICE_
H_ | 85 #endif // CHROME_BROWSER_DATA_USE_MEASUREMENT_CHROME_DATA_USE_ASCRIBER_SERVICE_
H_ |
| OLD | NEW |