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

Unified Diff: blimp/client/app/android/blimp_environment.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/client/app/android/blimp_contents_display.cc ('k') | blimp/client/app/android/blimp_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/app/android/blimp_environment.h
diff --git a/blimp/client/app/android/blimp_environment.h b/blimp/client/app/android/blimp_environment.h
deleted file mode 100644
index 167b9ac7052966d17fecd9c1cb0eaed07a5b79e1..0000000000000000000000000000000000000000
--- a/blimp/client/app/android/blimp_environment.h
+++ /dev/null
@@ -1,72 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef BLIMP_CLIENT_APP_ANDROID_BLIMP_ENVIRONMENT_H_
-#define BLIMP_CLIENT_APP_ANDROID_BLIMP_ENVIRONMENT_H_
-
-#include "base/android/jni_android.h"
-#include "base/android/scoped_java_ref.h"
-#include "base/macros.h"
-
-class PrefService;
-
-namespace base {
-class Thread;
-} // namespace base
-
-namespace blimp {
-namespace client {
-class BlimpClientContext;
-class BlimpClientContextDelegate;
-class CompositorDependencies;
-class CompositorDependenciesImpl;
-
-// BlimpEnvironment is the core environment required to run Blimp for Android.
-class BlimpEnvironment {
- public:
- BlimpEnvironment();
- ~BlimpEnvironment();
- static bool RegisterJni(JNIEnv* env);
-
- void Destroy(JNIEnv* env, const base::android::JavaParamRef<jobject>& jobj);
-
- static BlimpEnvironment* FromJavaObject(
- JNIEnv* env,
- const base::android::JavaRef<jobject>& jobj);
-
- base::android::ScopedJavaLocalRef<jobject> GetBlimpClientContext(
- JNIEnv* env,
- const base::android::JavaParamRef<jobject>& jobj);
-
- std::unique_ptr<CompositorDependencies> CreateCompositorDepencencies();
-
- private:
- friend class DelegatingCompositorDependencies;
-
- void DecrementOutstandingCompositorDependencies();
-
- // The CompositorDependencies used as the delegate for all minted
- // CompositorDependencies.
- std::unique_ptr<CompositorDependenciesImpl> compositor_dependencies_;
-
- // The number of outstanding CompositorDependencies. The minted
- // DelegatingCompositorDependencies will decrement this value during their
- // destruction.
- int outstanding_compositor_dependencies_ = 0;
-
- std::unique_ptr<base::Thread> io_thread_;
-
- std::unique_ptr<PrefService> pref_service_;
-
- std::unique_ptr<BlimpClientContextDelegate> context_delegate_;
-
- std::unique_ptr<BlimpClientContext> context_;
-
- DISALLOW_COPY_AND_ASSIGN(BlimpEnvironment);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_APP_ANDROID_BLIMP_ENVIRONMENT_H_
« no previous file with comments | « blimp/client/app/android/blimp_contents_display.cc ('k') | blimp/client/app/android/blimp_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698