| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_API_IMAGE_WRITER_PRIVATE_OPERATION_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_MANAGER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_MANAGER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/callback.h" | 11 #include "base/callback.h" |
| 12 #include "base/macros.h" | 12 #include "base/macros.h" |
| 13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
| 14 #include "base/scoped_observer.h" | 14 #include "base/scoped_observer.h" |
| 15 #include "chrome/browser/extensions/api/image_writer_private/image_writer_privat
e_api.h" | 15 #include "chrome/browser/extensions/api/image_writer_private/image_writer_privat
e_api.h" |
| 16 #include "chrome/browser/extensions/api/image_writer_private/operation.h" | 16 #include "chrome/browser/extensions/api/image_writer_private/operation.h" |
| 17 #include "chrome/common/extensions/api/image_writer_private.h" | 17 #include "chrome/common/extensions/api/image_writer_private.h" |
| 18 #include "content/public/browser/notification_observer.h" | 18 #include "content/public/browser/notification_observer.h" |
| 19 #include "content/public/browser/notification_registrar.h" | 19 #include "content/public/browser/notification_registrar.h" |
| 20 #include "extensions/browser/browser_context_keyed_api_factory.h" | 20 #include "extensions/browser/browser_context_keyed_api_factory.h" |
| 21 #include "extensions/browser/extension_registry_observer.h" | 21 #include "extensions/browser/extension_registry_observer.h" |
| 22 #include "extensions/common/extension_id.h" | 22 #include "extensions/common/extension_id.h" |
| 23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
| 24 | 24 |
| 25 namespace image_writer_api = extensions::api::image_writer_private; | 25 namespace image_writer_api = extensions::api::image_writer_private; |
| 26 | 26 |
| 27 class Profile; | |
| 28 | |
| 29 namespace content { | 27 namespace content { |
| 30 class BrowserContext; | 28 class BrowserContext; |
| 31 } | 29 } |
| 32 | 30 |
| 33 namespace extensions { | 31 namespace extensions { |
| 34 class ExtensionRegistry; | 32 class ExtensionRegistry; |
| 35 | 33 |
| 36 namespace image_writer { | 34 namespace image_writer { |
| 37 | 35 |
| 38 class Operation; | 36 class Operation; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 | 117 |
| 120 base::WeakPtrFactory<OperationManager> weak_factory_; | 118 base::WeakPtrFactory<OperationManager> weak_factory_; |
| 121 | 119 |
| 122 DISALLOW_COPY_AND_ASSIGN(OperationManager); | 120 DISALLOW_COPY_AND_ASSIGN(OperationManager); |
| 123 }; | 121 }; |
| 124 | 122 |
| 125 } // namespace image_writer | 123 } // namespace image_writer |
| 126 } // namespace extensions | 124 } // namespace extensions |
| 127 | 125 |
| 128 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_MANAGER_
H_ | 126 #endif // CHROME_BROWSER_EXTENSIONS_API_IMAGE_WRITER_PRIVATE_OPERATION_MANAGER_
H_ |
| OLD | NEW |