Add ICU message format support
[chromium-blink-merge.git] / mojo / runner / scoped_user_data_dir.h
blob01d84187664262430d94c1e03485a3294901c529
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef MOJO_RUNNER_SCOPED_USER_DATA_DIR_H_
6 #define MOJO_RUNNER_SCOPED_USER_DATA_DIR_H_
8 #include "base/files/scoped_temp_dir.h"
10 namespace mojo {
11 namespace runner {
13 // A scoped class which owns a ScopedTempDir if --use-temporary-user-data-dir
14 // is set. If it is, also modifies the command line so that --user-data-dir
15 // points to the temporary dir.
16 class ScopedUserDataDir {
17 public:
18 ScopedUserDataDir();
19 ~ScopedUserDataDir();
21 private:
22 base::ScopedTempDir temp_dir_;
25 } // namespace runner
26 } // namespace mojo
28 #endif // MOJO_RUNNER_SCOPED_USER_DATA_DIR_H_