Index: chrome/browser/extensions/api/copresence/copresence_util.h |
diff --git a/chrome/browser/extensions/api/copresence/copresence_util.h b/chrome/browser/extensions/api/copresence/copresence_util.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8302763d2c6d7f1942a9cc718ec8c4d1939bdf7f |
--- /dev/null |
+++ b/chrome/browser/extensions/api/copresence/copresence_util.h |
@@ -0,0 +1,32 @@ |
+// Copyright 2014 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_EXTENSIONS_API_COPRESENCE_COPRESENCE_UTIL_H_ |
+#define CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_COPRESENCE_UTIL_H_ |
+ |
+namespace content { |
+class BrowserContext; |
+} |
+ |
+namespace copresence { |
+class CopresenceClient; |
+class WhispernetClient; |
+} |
+ |
+namespace extensions { |
+ |
+class CopresenceService; |
+ |
not at google - send to devlin
2014/08/07 20:41:18
these utils have a pretty small value, and it seem
rkc
2014/08/07 21:43:02
They're used from copresence_private_api.cc, other
not at google - send to devlin
2014/08/07 21:47:43
they're such low value though. A null check? It's
rkc
2014/08/07 22:03:45
Agreed, it isn't really a big benefit. Removed.
Do
|
+CopresenceService* GetCopresenceService( |
+ content::BrowserContext* browser_context); |
+ |
+copresence::CopresenceClient* GetCopresenceClient( |
+ content::BrowserContext* browser_context); |
+ |
+copresence::WhispernetClient* GetWhispernetClient( |
+ content::BrowserContext* browser_context); |
+ |
+} // namespace extensions |
+ |
+#endif // CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_COPRESENCE_UTIL_H_ |