| Index: components/arc/set_wallpaper_delegate.h
|
| diff --git a/components/arc/set_wallpaper_delegate.h b/components/arc/set_wallpaper_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..49895d23eea657ff369deb1a2bbb5f2835a8f7bf
|
| --- /dev/null
|
| +++ b/components/arc/set_wallpaper_delegate.h
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_ARC_SET_WALLPAPER_DELEGATE_H_
|
| +#define COMPONENTS_ARC_SET_WALLPAPER_DELEGATE_H_
|
| +
|
| +#include <string>
|
| +
|
| +namespace arc {
|
| +
|
| +// Delegate to allow setting the wallpaper.
|
| +class SetWallpaperDelegate {
|
| + public:
|
| + virtual ~SetWallpaperDelegate() = default;
|
| +
|
| + // Sets an image represented in JPEG format as the wallpaper.
|
| + virtual void SetWallpaper(const std::string& jpeg_data) = 0;
|
| +};
|
| +
|
| +} // namespace arc
|
| +
|
| +#endif // COMPONENTS_ARC_SET_WALLPAPER_DELEGATE_H_
|
|
|