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

Unified Diff: blimp/client/core/session/cross_thread_network_event_observer.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/session/cross_thread_network_event_observer.h
diff --git a/blimp/client/core/session/cross_thread_network_event_observer.h b/blimp/client/core/session/cross_thread_network_event_observer.h
deleted file mode 100644
index 77012e9da148f40349d16448c4e65f89fa74ff20..0000000000000000000000000000000000000000
--- a/blimp/client/core/session/cross_thread_network_event_observer.h
+++ /dev/null
@@ -1,42 +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_SESSION_CROSS_THREAD_NETWORK_EVENT_OBSERVER_H_
-#define BLIMP_CLIENT_CORE_SESSION_CROSS_THREAD_NETWORK_EVENT_OBSERVER_H_
-
-#include <memory>
-
-#include "base/macros.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/weak_ptr.h"
-#include "base/sequenced_task_runner.h"
-#include "blimp/client/core/session/network_event_observer.h"
-
-namespace blimp {
-namespace client {
-
-// Posts NetworkEvents to an observer across the IO/UI thread boundary.
-class CrossThreadNetworkEventObserver : public NetworkEventObserver {
- public:
- CrossThreadNetworkEventObserver(
- const base::WeakPtr<NetworkEventObserver>& target,
- const scoped_refptr<base::SequencedTaskRunner>& task_runner);
-
- ~CrossThreadNetworkEventObserver() override;
-
- // NetworkEventObserver implementation.
- void OnConnected() override;
- void OnDisconnected(int result) override;
-
- private:
- base::WeakPtr<NetworkEventObserver> target_;
- scoped_refptr<base::SequencedTaskRunner> task_runner_;
-
- DISALLOW_COPY_AND_ASSIGN(CrossThreadNetworkEventObserver);
-};
-
-} // namespace client
-} // namespace blimp
-
-#endif // BLIMP_CLIENT_CORE_SESSION_CROSS_THREAD_NETWORK_EVENT_OBSERVER_H_
« no previous file with comments | « blimp/client/core/session/connection_status.cc ('k') | blimp/client/core/session/cross_thread_network_event_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698