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

Unified Diff: chrome/browser/sync/sessions/debug_info_getter.h

Issue 8189003: Send important client side event information to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For review. Created 9 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: chrome/browser/sync/sessions/debug_info_getter.h
diff --git a/chrome/browser/sync/sessions/debug_info_getter.h b/chrome/browser/sync/sessions/debug_info_getter.h
new file mode 100755
index 0000000000000000000000000000000000000000..35f1025e0b6ac34d4f7abbfc86e2e78df35bd999
--- /dev/null
+++ b/chrome/browser/sync/sessions/debug_info_getter.h
@@ -0,0 +1,26 @@
+// Copyright (c) 2011 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_SYNC_SESSIONS_DEBUG_INFO_GETTER_H_
+#define CHROME_BROWSER_SYNC_SESSIONS_DEBUG_INFO_GETTER_H_
+
+#include "chrome/browser/sync/protocol/sync.pb.h"
+
+namespace browser_sync {
+namespace sessions {
+
+// This is the interface that needs to be implemented by the event listener
+// to communicate the debug info data to the syncer.
+class DebugInfoGetter {
+ public:
tim (not reviewing) 2011/10/13 21:48:14 declare a virtual destructor (http://google-style
lipalani1 2011/10/14 18:31:10 Done.
+ // Gets the client debug info and clears the state so the same data is not
+ // sent again.
+ virtual void GetAndClearDebugInfo(sync_pb::DebugInfo* debug_info) = 0;
+};
+
+} // namespace sessions
+} // namespace browser_sync
+
+#endif // CHROME_BROWSER_SYNC_SESSIONS_DEBUG_INFO_GETTER_H_
+

Powered by Google App Engine
This is Rietveld 408576698