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

Side by Side Diff: content/utility/utility_thread_impl.h

Issue 98603007: Launches a privileged utility process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actually works now. Removes unnecessary logging. Created 7 years 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ 5 #ifndef CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ 6 #define CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE; 45 virtual bool OnControlMessageReceived(const IPC::Message& msg) OVERRIDE;
46 46
47 // IPC message handlers. 47 // IPC message handlers.
48 void OnBatchModeStarted(); 48 void OnBatchModeStarted();
49 void OnBatchModeFinished(); 49 void OnBatchModeFinished();
50 50
51 #if defined(OS_POSIX) 51 #if defined(OS_POSIX)
52 void OnLoadPlugins(const std::vector<base::FilePath>& plugin_paths); 52 void OnLoadPlugins(const std::vector<base::FilePath>& plugin_paths);
53 #endif // OS_POSIX 53 #endif // OS_POSIX
54 54
55 void OnEffectiveUser();
mef 2013/12/10 15:25:18 Can you explain this?
56
55 // True when we're running in batch mode. 57 // True when we're running in batch mode.
56 bool batch_mode_; 58 bool batch_mode_;
57 59
58 // True if running in single process mode. 60 // True if running in single process mode.
59 bool single_process_; 61 bool single_process_;
60 62
61 scoped_ptr<WebKitPlatformSupportImpl> webkit_platform_support_; 63 scoped_ptr<WebKitPlatformSupportImpl> webkit_platform_support_;
62 64
63 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); 65 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl);
64 }; 66 };
65 67
66 } // namespace content 68 } // namespace content
67 69
68 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ 70 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698