| 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 #include "components/prefs/command_line_pref_store.h" | 16 #include "components/prefs/command_line_pref_store.h" |
| 17 #include "components/prefs/pref_registry_simple.h" | 17 #include "components/prefs/pref_registry_simple.h" |
| 18 #include "components/prefs/pref_service.h" | 18 #include "components/prefs/pref_service.h" |
| 19 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
| 20 | 20 |
| 21 #if defined(OS_ANDROID) | 21 #if defined(OS_ANDROID) |
| 22 #include "base/android/jni_android.h" | 22 #include "base/android/jni_android.h" |
| 23 #endif // defined(OS_ANDROID) | 23 #endif // defined(OS_ANDROID) |
| 24 | 24 |
| 25 namespace base { | |
| 26 class SupportsUserData; | |
| 27 } | |
| 28 | |
| 29 namespace blimp { | 25 namespace blimp { |
| 30 namespace client { | 26 namespace client { |
| 31 class CompositorDependencies; | 27 class CompositorDependencies; |
| 32 | 28 |
| 33 // BlimpClientContext is the core class for the Blimp client. It provides hooks | 29 // BlimpClientContext is the core class for the Blimp client. It provides hooks |
| 34 // for creating BlimpContents and other features that are per | 30 // for creating BlimpContents and other features that are per |
| 35 // BrowserContext/Profile. | 31 // BrowserContext/Profile. |
| 36 class BlimpClientContext : public KeyedService { | 32 class BlimpClientContext : public KeyedService { |
| 37 public: | 33 public: |
| 38 #if defined(OS_ANDROID) | 34 #if defined(OS_ANDROID) |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 BlimpClientContext() = default; | 79 BlimpClientContext() = default; |
| 84 | 80 |
| 85 private: | 81 private: |
| 86 DISALLOW_COPY_AND_ASSIGN(BlimpClientContext); | 82 DISALLOW_COPY_AND_ASSIGN(BlimpClientContext); |
| 87 }; | 83 }; |
| 88 | 84 |
| 89 } // namespace client | 85 } // namespace client |
| 90 } // namespace blimp | 86 } // namespace blimp |
| 91 | 87 |
| 92 #endif // BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ | 88 #endif // BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_H_ |
| OLD | NEW |