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

Unified Diff: blimp/client/app/linux/blimp_display_manager_delegate_main.cc

Issue 2363153002: Migrate Linux Blimp client to use BlimpClientContext (Closed)
Patch Set: Fix more nits 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/app/linux/blimp_display_manager_delegate_main.cc
diff --git a/blimp/client/app/blimp_startup.h b/blimp/client/app/linux/blimp_display_manager_delegate_main.cc
similarity index 56%
copy from blimp/client/app/blimp_startup.h
copy to blimp/client/app/linux/blimp_display_manager_delegate_main.cc
index bd1692429d743ee143b747da0085088d3bc7f2ab..28f343137c410b32e01f8cfc2ba1e5a3bd0abc92 100644
--- a/blimp/client/app/blimp_startup.h
+++ b/blimp/client/app/linux/blimp_display_manager_delegate_main.cc
@@ -2,17 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef BLIMP_CLIENT_APP_BLIMP_STARTUP_H_
-#define BLIMP_CLIENT_APP_BLIMP_STARTUP_H_
+#include "base/run_loop.h"
Kevin M 2016/09/27 21:59:41 Not used? Also: the .h counterpart of the .cc alwa
steimel 2016/09/27 23:23:19 Moved below the .h counterpart. Used on line 12
+#include "blimp/client/app/linux/blimp_display_manager_delegate_main.h"
namespace blimp {
namespace client {
-void InitializeLogging();
-
-bool InitializeMainMessageLoop();
+void BlimpDisplayManagerDelegateMain::OnClosed() {
+ base::MessageLoop::current()->QuitNow();
+}
} // namespace client
} // namespace blimp
-
-#endif // BLIMP_CLIENT_APP_BLIMP_STARTUP_H_

Powered by Google App Engine
This is Rietveld 408576698