blob: aea7c4a401e0ce6dd307df9c14642b05d187f81e [file] [log] [blame]
// Copyright 2017 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.
#include "base/files/file_path.h"
// A command line switch to specify the output directory into which snapshots
// are to be saved; e.g., in case an always-on-top window is found.
extern const char kSnapshotOutputDir[];
// Saves a snapshot of the desktop to a file in |output_dir|, returning the path
// to the file if created. An empty path is returned if no new snapshot is
// created.
base::FilePath SaveDesktopSnapshot(const base::FilePath& output_dir);