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

Unified Diff: blimp/client/core/context/dummy_blimp_client_context.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
Index: blimp/client/core/context/dummy_blimp_client_context.h
diff --git a/blimp/client/core/context/dummy_blimp_client_context.h b/blimp/client/core/context/dummy_blimp_client_context.h
deleted file mode 100644
index aa56ad2e2ded7d7ea4551c38299411366155f903..0000000000000000000000000000000000000000
--- a/blimp/client/core/context/dummy_blimp_client_context.h
+++ /dev/null
@@ -1,38 +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_CORE_CONTEXT_DUMMY_BLIMP_CLIENT_CONTEXT_H_
-#define BLIMP_CLIENT_CORE_CONTEXT_DUMMY_BLIMP_CLIENT_CONTEXT_H_
-
-#include "base/macros.h"
-#include "blimp/client/public/blimp_client_context.h"
-#include "blimp/client/public/contents/blimp_contents.h"
-
-namespace blimp {
-namespace client {
-
-// A dummy implementation of the BlimpClientContext which is in use by
-// embedders that do not set the GN argument |enable_blimp_client| to true.
-// It exists so that it is possible for an embedder to still have code depending
-// on the public APIs of blimp, without in fact linking in all the core code.
-class DummyBlimpClientContext : public BlimpClientContext {
- public:
- DummyBlimpClientContext();
- ~DummyBlimpClientContext() override;
-
- // BlimpClientContext implementation.
- void SetDelegate(BlimpClientContextDelegate* delegate) override;
- std::unique_ptr<BlimpContents> CreateBlimpContents(
- gfx::NativeWindow window) override;
- void Connect() override;
- void ConnectWithAssignment(const Assignment& assignment) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DummyBlimpClientContext);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_CORE_CONTEXT_DUMMY_BLIMP_CLIENT_CONTEXT_H_

Powered by Google App Engine
This is Rietveld 408576698