Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1348)

Unified Diff: apps/app_shim/test/app_shim_host_manager_test_api_mac.cc

Issue 66043003: Put app shim IPC socket in a temporary directory. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync, rebase, git cl format Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « apps/app_shim/test/app_shim_host_manager_test_api_mac.h ('k') | chrome/common/mac/app_mode_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
diff --git a/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc b/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
index 2bd83fd87e3a0001f57f51342eb2886c0b2f142f..67c654460a5ccd2d561355120b6b54527ff19c64 100644
--- a/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
+++ b/apps/app_shim/test/app_shim_host_manager_test_api_mac.cc
@@ -9,14 +9,6 @@
namespace test {
-// static
-void AppShimHostManagerTestApi::OverrideUserDataDir(
- const base::FilePath& user_data_dir) {
- CR_DEFINE_STATIC_LOCAL(base::FilePath, override_user_data_dir, ());
- override_user_data_dir = user_data_dir;
- AppShimHostManager::g_override_user_data_dir_ = &override_user_data_dir;
-}
-
AppShimHostManagerTestApi::AppShimHostManagerTestApi(
AppShimHostManager* host_manager)
: host_manager_(host_manager) {
@@ -27,4 +19,8 @@ IPC::ChannelFactory* AppShimHostManagerTestApi::factory() {
return host_manager_->factory_.get();
}
+const base::FilePath& AppShimHostManagerTestApi::directory_in_tmp() {
+ return host_manager_->directory_in_tmp_;
+}
+
} // namespace test
« no previous file with comments | « apps/app_shim/test/app_shim_host_manager_test_api_mac.h ('k') | chrome/common/mac/app_mode_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698