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

Unified Diff: blimp/client/core/context/blimp_client_context_impl.h

Issue 2391263005: Propagate error messages to UI for blimp. (Closed)
Patch Set: Minor fixes. Created 4 years, 2 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/blimp_client_context_impl.h
diff --git a/blimp/client/core/context/blimp_client_context_impl.h b/blimp/client/core/context/blimp_client_context_impl.h
index d6e46c0e57495f712e089794e19cbd4a49f48304..fd0653d941356b7e95a14c7d4d1597cb4706c6fa 100644
--- a/blimp/client/core/context/blimp_client_context_impl.h
+++ b/blimp/client/core/context/blimp_client_context_impl.h
@@ -44,7 +44,8 @@ class TabControlFeature;
class BlimpClientContextImpl
: public BlimpClientContext,
public BlimpSettingsDelegate,
- public BlobImageSerializationProcessor::ErrorDelegate {
+ public BlobImageSerializationProcessor::ErrorDelegate,
+ public NetworkEventObserver {
public:
// The |io_thread_task_runner| must be the task runner to use for IO
// operations.
@@ -99,6 +100,10 @@ class BlimpClientContextImpl
// BlobImageSerializationProcessor::ErrorDelegate implementation.
void OnImageDecodeError() override;
+ // NetworkEventObserver implementation.
+ void OnConnected() override;
+ void OnDisconnected(int result) override;
+
// Provides functionality from the embedder.
BlimpClientContextDelegate* delegate_ = nullptr;
« no previous file with comments | « blimp/client/app/linux/blimp_client_context_delegate_linux.cc ('k') | blimp/client/core/context/blimp_client_context_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698