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

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

Issue 2832633002: Add PDF compositor service (Closed)
Patch Set: remove headers Created 3 years, 8 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 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 <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 22 matching lines...) Expand all
33 public ChildThreadImpl { 33 public ChildThreadImpl {
34 public: 34 public:
35 UtilityThreadImpl(); 35 UtilityThreadImpl();
36 // Constructor that's used when running in single process mode. 36 // Constructor that's used when running in single process mode.
37 explicit UtilityThreadImpl(const InProcessChildThreadParams& params); 37 explicit UtilityThreadImpl(const InProcessChildThreadParams& params);
38 ~UtilityThreadImpl() override; 38 ~UtilityThreadImpl() override;
39 void Shutdown() override; 39 void Shutdown() override;
40 40
41 void ReleaseProcessIfNeeded() override; 41 void ReleaseProcessIfNeeded() override;
42 void EnsureBlinkInitialized() override; 42 void EnsureBlinkInitialized() override;
43 void EnsureReadyForSkia() override;
43 44
44 private: 45 private:
45 void Init(); 46 void Init();
46 47
47 // ChildThread implementation. 48 // ChildThread implementation.
48 bool OnControlMessageReceived(const IPC::Message& msg) override; 49 bool OnControlMessageReceived(const IPC::Message& msg) override;
49 50
50 // IPC message handlers. 51 // IPC message handlers.
51 void OnBatchModeStarted(); 52 void OnBatchModeStarted();
52 void OnBatchModeFinished(); 53 void OnBatchModeFinished();
(...skipping 17 matching lines...) Expand all
70 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl); 71 DISALLOW_COPY_AND_ASSIGN(UtilityThreadImpl);
71 }; 72 };
72 73
73 #if defined(COMPILER_MSVC) 74 #if defined(COMPILER_MSVC)
74 #pragma warning(pop) 75 #pragma warning(pop)
75 #endif 76 #endif
76 77
77 } // namespace content 78 } // namespace content
78 79
79 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_ 80 #endif // CONTENT_UTILITY_UTILITY_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698