OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ | 5 #ifndef BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ |
6 #define BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ | 6 #define BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "blimp/client/public/blimp_client_context_delegate.h" | 13 #include "blimp/client/public/blimp_client_context_delegate.h" |
14 #include "blimp/client/public/contents/blimp_contents.h" | 14 #include "blimp/client/public/contents/blimp_contents.h" |
15 #include "components/keyed_service/core/keyed_service.h" | 15 #include "components/keyed_service/core/keyed_service.h" |
16 | 16 |
17 #if defined(OS_ANDROID) | 17 #if defined(OS_ANDROID) |
18 #include "base/android/jni_android.h" | 18 #include "base/android/jni_android.h" |
19 #endif // defined(OS_ANDROID) | 19 #endif // defined(OS_ANDROID) |
20 | 20 |
21 namespace base { | 21 namespace base { |
22 class SupportsUserData; | 22 class SupportsUserData; |
23 } | 23 } |
24 | 24 |
25 namespace blimp { | 25 namespace blimp { |
26 namespace client { | 26 namespace client { |
27 class CompositorDependencies; | |
David Trainor- moved to gerrit
2016/08/31 21:49:58
double the forward declare, double the fun!
Khushal
2016/08/31 22:04:57
May be I should add one more? :P
Done.
| |
27 | 28 |
28 class CompositorDependencies; | 29 class CompositorDependencies; |
29 | 30 |
30 // BlimpClientContext is the core class for the Blimp client. It provides hooks | 31 // BlimpClientContext is the core class for the Blimp client. It provides hooks |
31 // for creating BlimpContents and other features that are per | 32 // for creating BlimpContents and other features that are per |
32 // BrowserContext/Profile. | 33 // BrowserContext/Profile. |
33 class BlimpClientContext : public KeyedService { | 34 class BlimpClientContext : public KeyedService { |
34 public: | 35 public: |
35 #if defined(OS_ANDROID) | 36 #if defined(OS_ANDROID) |
36 // Returns a Java object of the type BlimpClientContext for the given | 37 // Returns a Java object of the type BlimpClientContext for the given |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 BlimpClientContext() = default; | 69 BlimpClientContext() = default; |
69 | 70 |
70 private: | 71 private: |
71 DISALLOW_COPY_AND_ASSIGN(BlimpClientContext); | 72 DISALLOW_COPY_AND_ASSIGN(BlimpClientContext); |
72 }; | 73 }; |
73 | 74 |
74 } // namespace client | 75 } // namespace client |
75 } // namespace blimp | 76 } // namespace blimp |
76 | 77 |
77 #endif // BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ | 78 #endif // BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ |
OLD | NEW |