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

Unified Diff: blimp/client/core/dummy_blimp_client_context.h

Issue 2376573002: Cleanup blimp/client/core code organization. (Closed)
Patch Set: merged origin/master Created 4 years, 3 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/dummy_blimp_client_context.h
diff --git a/blimp/client/core/dummy_blimp_client_context.h b/blimp/client/core/dummy_blimp_client_context.h
deleted file mode 100644
index ae59d31460ab9feea04e08e93509c693907a08ce..0000000000000000000000000000000000000000
--- a/blimp/client/core/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_DUMMY_BLIMP_CLIENT_CONTEXT_H_
-#define BLIMP_CLIENT_CORE_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_DUMMY_BLIMP_CLIENT_CONTEXT_H_
« no previous file with comments | « blimp/client/core/context/dummy_blimp_client_context.cc ('k') | blimp/client/core/dummy_blimp_client_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698