OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_POLICY_LOGGING_WORK_SCHEDULER_H_ | 5 #ifndef CHROME_BROWSER_POLICY_LOGGING_WORK_SCHEDULER_H_ |
6 #define CHROME_BROWSER_POLICY_LOGGING_WORK_SCHEDULER_H_ | 6 #define CHROME_BROWSER_POLICY_LOGGING_WORK_SCHEDULER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <queue> | 8 #include <queue> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/callback.h" | 12 #include "base/callback.h" |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
16 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
17 #include "chrome/browser/policy/delayed_work_scheduler.h" | 16 #include "chrome/browser/policy/delayed_work_scheduler.h" |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 virtual void PostDelayedWork(const base::Closure& callback, int64 delay) | 131 virtual void PostDelayedWork(const base::Closure& callback, int64 delay) |
133 OVERRIDE; | 132 OVERRIDE; |
134 | 133 |
135 private: | 134 private: |
136 DISALLOW_COPY_AND_ASSIGN(DummyWorkScheduler); | 135 DISALLOW_COPY_AND_ASSIGN(DummyWorkScheduler); |
137 }; | 136 }; |
138 | 137 |
139 } // namespace policy | 138 } // namespace policy |
140 | 139 |
141 #endif // CHROME_BROWSER_POLICY_LOGGING_WORK_SCHEDULER_H_ | 140 #endif // CHROME_BROWSER_POLICY_LOGGING_WORK_SCHEDULER_H_ |
OLD | NEW |