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

Unified Diff: chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receive_service_observer.h

Issue 11038063: Support chrome_to_mobile job receiving Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix format Created 8 years, 1 month 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: chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receive_service_observer.h
diff --git a/chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receive_service_observer.h b/chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receive_service_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..2b70bd7641630cf9db0c698981d55553fd7a78c8
--- /dev/null
+++ b/chrome/browser/chrome_to_mobile/receive/chrome_to_mobile_receive_service_observer.h
@@ -0,0 +1,24 @@
+// Copyright 2012 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 CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_CHROME_TO_MOBILE_RECEIVE_SERVICE_OBSERVER_H_
+#define CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_CHROME_TO_MOBILE_RECEIVE_SERVICE_OBSERVER_H_
+
+#include "base/basictypes.h"
+
+// Abstract class that declares APIs exposed to UI when the status of
+// ChromeToMobileReceiveService is changed.
+class ChromeToMobileReceiveServiceObserver {
+ public:
+ ChromeToMobileReceiveServiceObserver();
+ virtual ~ChromeToMobileReceiveServiceObserver();
+
+ virtual void OnStateChange() = 0;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ChromeToMobileReceiveServiceObserver);
+};
+
+#endif // CHROME_BROWSER_CHROME_TO_MOBILE_RECEIVE_CHROME_TO_MOBILE_RECEIVE_SERVICE_OBSERVER_H_
+

Powered by Google App Engine
This is Rietveld 408576698