| 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_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "chrome/browser/chromeos/extensions/wallpaper_function_base.h" | 11 #include "chrome/browser/chromeos/extensions/wallpaper_function_base.h" |
| 12 #include "chrome/common/extensions/api/wallpaper_private.h" | 12 #include "chrome/common/extensions/api/wallpaper_private.h" |
| 13 #include "components/signin/core/account_id/account_id.h" | 13 #include "components/signin/core/account_id/account_id.h" |
| 14 #include "components/wallpaper/wallpaper_files_id.h" | 14 #include "components/wallpaper/wallpaper_files_id.h" |
| 15 #include "net/url_request/url_fetcher_delegate.h" | 15 #include "net/url_request/url_fetcher_delegate.h" |
| 16 | 16 |
| 17 namespace base { | 17 namespace base { |
| 18 class RefCountedBytes; | 18 class RefCountedBytes; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace chromeos { | |
| 22 class UserImage; | |
| 23 } // namespace chromeos | |
| 24 | |
| 25 // Wallpaper manager strings. | 21 // Wallpaper manager strings. |
| 26 class WallpaperPrivateGetStringsFunction : public UIThreadExtensionFunction { | 22 class WallpaperPrivateGetStringsFunction : public UIThreadExtensionFunction { |
| 27 public: | 23 public: |
| 28 DECLARE_EXTENSION_FUNCTION("wallpaperPrivate.getStrings", | 24 DECLARE_EXTENSION_FUNCTION("wallpaperPrivate.getStrings", |
| 29 WALLPAPERPRIVATE_GETSTRINGS) | 25 WALLPAPERPRIVATE_GETSTRINGS) |
| 30 | 26 |
| 31 protected: | 27 protected: |
| 32 ~WallpaperPrivateGetStringsFunction() override {} | 28 ~WallpaperPrivateGetStringsFunction() override {} |
| 33 | 29 |
| 34 // ExtensionFunction: | 30 // ExtensionFunction: |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 WALLPAPERPRIVATE_RECORDWALLPAPERUMA) | 287 WALLPAPERPRIVATE_RECORDWALLPAPERUMA) |
| 292 | 288 |
| 293 protected: | 289 protected: |
| 294 ~WallpaperPrivateRecordWallpaperUMAFunction() override {} | 290 ~WallpaperPrivateRecordWallpaperUMAFunction() override {} |
| 295 | 291 |
| 296 // ExtensionFunction: | 292 // ExtensionFunction: |
| 297 ResponseAction Run() override; | 293 ResponseAction Run() override; |
| 298 }; | 294 }; |
| 299 | 295 |
| 300 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ | 296 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_WALLPAPER_PRIVATE_API_H_ |
| OLD | NEW |