OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_RENDERER_LOAD_PROGRESS_TRACKER_H_ | 5 #ifndef CONTENT_RENDERER_LOAD_PROGRESS_TRACKER_H_ |
6 #define CHROME_RENDERER_LOAD_PROGRESS_TRACKER_H_ | 6 #define CONTENT_RENDERER_LOAD_PROGRESS_TRACKER_H_ |
7 | 7 |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/task.h" | 9 #include "base/task.h" |
10 #include "base/time.h" | 10 #include "base/time.h" |
11 | 11 |
12 class RenderView; | 12 class RenderView; |
13 | 13 |
14 namespace WebKit { | 14 namespace WebKit { |
15 class WebFrame; | 15 class WebFrame; |
16 } | 16 } |
(...skipping 18 matching lines...) Expand all Loading... |
35 | 35 |
36 double progress_; | 36 double progress_; |
37 | 37 |
38 base::TimeTicks last_time_progress_sent_; | 38 base::TimeTicks last_time_progress_sent_; |
39 | 39 |
40 ScopedRunnableMethodFactory<LoadProgressTracker> method_factory_; | 40 ScopedRunnableMethodFactory<LoadProgressTracker> method_factory_; |
41 | 41 |
42 DISALLOW_COPY_AND_ASSIGN(LoadProgressTracker); | 42 DISALLOW_COPY_AND_ASSIGN(LoadProgressTracker); |
43 }; | 43 }; |
44 | 44 |
45 #endif // CHROME_RENDERER_LOAD_PROGRESS_TRACKER_H_ | 45 #endif // CONTENT_RENDERER_LOAD_PROGRESS_TRACKER_H_ |
46 | |
OLD | NEW |