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

Side by Side Diff: apps/app_shim/test/app_shim_host_manager_test_api_mac.h

Issue 66043003: Put app shim IPC socket in a temporary directory. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Always use short socket path Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H 5 #ifndef APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H
6 #define APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H 6 #define APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 9
10 class AppShimHostManager; 10 class AppShimHostManager;
11 11
12 namespace base { 12 namespace base {
13 class FilePath; 13 class FilePath;
14 } 14 }
15 15
16 namespace IPC { 16 namespace IPC {
17 class ChannelFactory; 17 class ChannelFactory;
18 } 18 }
19 19
20 namespace test { 20 namespace test {
21 21
22 class AppShimHostManagerTestApi { 22 class AppShimHostManagerTestApi {
23 public: 23 public:
24 static void OverrideUserDataDir(const base::FilePath& user_data_dir);
25
26 explicit AppShimHostManagerTestApi(AppShimHostManager* host_manager); 24 explicit AppShimHostManagerTestApi(AppShimHostManager* host_manager);
27 25
28 IPC::ChannelFactory* factory(); 26 IPC::ChannelFactory* factory();
29 27
30 private: 28 private:
31 AppShimHostManager* host_manager_; // Not owned. 29 AppShimHostManager* host_manager_; // Not owned.
32 30
33 DISALLOW_COPY_AND_ASSIGN(AppShimHostManagerTestApi); 31 DISALLOW_COPY_AND_ASSIGN(AppShimHostManagerTestApi);
34 }; 32 };
35 33
36 } // namespace test 34 } // namespace test
37 35
38 #endif // APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H 36 #endif // APPS_APP_SHIM_TEST_APP_SHIM_HOST_MANAGER_TEST_API_MAC_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698