OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_APP_NOTIFICATION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_MANAGER_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_MANAGER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_MANAGER_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 | 9 |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
15 #include "base/sequenced_task_runner_helpers.h" | 14 #include "base/sequenced_task_runner_helpers.h" |
16 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
17 #include "chrome/browser/extensions/app_notification.h" | 16 #include "chrome/browser/extensions/app_notification.h" |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 // Whether syncer changes are being processed right now. | 174 // Whether syncer changes are being processed right now. |
176 bool processing_syncer_changes_; | 175 bool processing_syncer_changes_; |
177 | 176 |
178 // Used for a histogram of load time. | 177 // Used for a histogram of load time. |
179 scoped_ptr<PerfTimer> load_timer_; | 178 scoped_ptr<PerfTimer> load_timer_; |
180 | 179 |
181 DISALLOW_COPY_AND_ASSIGN(AppNotificationManager); | 180 DISALLOW_COPY_AND_ASSIGN(AppNotificationManager); |
182 }; | 181 }; |
183 | 182 |
184 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_MANAGER_H_ | 183 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFICATION_MANAGER_H_ |
OLD | NEW |