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

Unified Diff: blimp/client/core/session/cross_thread_network_event_observer.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
Index: blimp/client/core/session/cross_thread_network_event_observer.cc
diff --git a/blimp/client/core/session/cross_thread_network_event_observer.cc b/blimp/client/core/session/cross_thread_network_event_observer.cc
deleted file mode 100644
index 1ac608924d71ba4bce91712ec76b6836b67d323c..0000000000000000000000000000000000000000
--- a/blimp/client/core/session/cross_thread_network_event_observer.cc
+++ /dev/null
@@ -1,32 +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/session/cross_thread_network_event_observer.h"
-
-#include "base/bind.h"
-#include "base/location.h"
-
-namespace blimp {
-namespace client {
-
-CrossThreadNetworkEventObserver::CrossThreadNetworkEventObserver(
- const base::WeakPtr<NetworkEventObserver>& target,
- const scoped_refptr<base::SequencedTaskRunner>& task_runner)
- : target_(target), task_runner_(task_runner) {}
-
-CrossThreadNetworkEventObserver::~CrossThreadNetworkEventObserver() {}
-
-void CrossThreadNetworkEventObserver::OnConnected() {
- task_runner_->PostTask(
- FROM_HERE, base::Bind(&NetworkEventObserver::OnConnected, target_));
-}
-
-void CrossThreadNetworkEventObserver::OnDisconnected(int result) {
- task_runner_->PostTask(
- FROM_HERE,
- base::Bind(&NetworkEventObserver::OnDisconnected, target_, result));
-}
-
-} // namespace client
-} // namespace blimp
« no previous file with comments | « blimp/client/core/session/cross_thread_network_event_observer.h ('k') | blimp/client/core/session/identity_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698