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

Unified Diff: blimp/client/core/context/dummy_blimp_client_context.cc

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/core/context/dummy_blimp_client_context.h ('k') | blimp/client/core/feedback/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/context/dummy_blimp_client_context.cc
diff --git a/blimp/client/core/context/dummy_blimp_client_context.cc b/blimp/client/core/context/dummy_blimp_client_context.cc
deleted file mode 100644
index 892678f231045edce73648ddc69ae7043f05de78..0000000000000000000000000000000000000000
--- a/blimp/client/core/context/dummy_blimp_client_context.cc
+++ /dev/null
@@ -1,75 +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.
-
-#include "blimp/client/core/context/dummy_blimp_client_context.h"
-
-#include "base/logging.h"
-#include "base/memory/ref_counted.h"
-#include "base/metrics/histogram_macros.h"
-#include "base/single_thread_task_runner.h"
-#include "blimp/client/public/compositor/compositor_dependencies.h"
-
-#if defined(OS_ANDROID)
-#include "blimp/client/core/context/android/dummy_blimp_client_context_android.h"
-#endif // OS_ANDROID
-
-namespace blimp {
-namespace client {
-
-// This function is declared in //blimp/client/public/blimp_client_context.h,
-// and either this function or the one in
-// //blimp/client/core/blimp_client_context_impl.cc should be linked in to
-// any binary using BlimpClientContext::Create.
-// static
-BlimpClientContext* BlimpClientContext::Create(
- scoped_refptr<base::SingleThreadTaskRunner> io_thread_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
- std::unique_ptr<CompositorDependencies> compositor_dependencies,
- PrefService* local_state) {
-#if defined(OS_ANDROID)
- return new DummyBlimpClientContextAndroid();
-#else
- return new DummyBlimpClientContext();
-#endif // defined(OS_ANDROID)
-}
-
-// This function is declared in //blimp/client/public/blimp_client_context.h,
-// and either this function or the one in
-// //blimp/client/core/blimp_client_context_impl.cc should be linked in to
-// any binary using BlimpClientContext::RegisterPrefs.
-// static
-void BlimpClientContext::RegisterPrefs(PrefRegistrySimple* registry) {}
-
-// This function is declared in //blimp/client/public/blimp_client_context.h,
-// and either this function or the one in
-// //blimp/client/core/blimp_client_context_impl.cc should be linked in to
-// any binary using BlimpClientContext::ApplyBlimpSwitches.
-// static
-void BlimpClientContext::ApplyBlimpSwitches(CommandLinePrefStore* store) {}
-
-DummyBlimpClientContext::DummyBlimpClientContext() : BlimpClientContext() {
- UMA_HISTOGRAM_BOOLEAN("Blimp.Supported", false);
-}
-
-DummyBlimpClientContext::~DummyBlimpClientContext() {}
-
-void DummyBlimpClientContext::SetDelegate(
- BlimpClientContextDelegate* delegate) {}
-
-std::unique_ptr<BlimpContents> DummyBlimpClientContext::CreateBlimpContents(
- gfx::NativeWindow window) {
- return nullptr;
-}
-
-void DummyBlimpClientContext::Connect() {
- NOTREACHED();
-}
-
-void DummyBlimpClientContext::ConnectWithAssignment(
- const Assignment& assignment) {
- NOTREACHED();
-}
-
-} // namespace client
-} // namespace blimp
« no previous file with comments | « blimp/client/core/context/dummy_blimp_client_context.h ('k') | blimp/client/core/feedback/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698