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

Side by Side Diff: chrome/browser/extensions/api/copresence/copresence_util.h

Issue 444513005: Add the Copresence API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_COPRESENCE_UTIL_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_COPRESENCE_UTIL_H_
7
8 namespace content {
9 class BrowserContext;
10 }
11
12 namespace copresence {
13 class CopresenceClient;
14 class WhispernetClient;
15 }
16
17 namespace extensions {
18
19 class CopresenceService;
20
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
21 CopresenceService* GetCopresenceService(
22 content::BrowserContext* browser_context);
23
24 copresence::CopresenceClient* GetCopresenceClient(
25 content::BrowserContext* browser_context);
26
27 copresence::WhispernetClient* GetWhispernetClient(
28 content::BrowserContext* browser_context);
29
30 } // namespace extensions
31
32 #endif // CHROME_BROWSER_EXTENSIONS_API_COPRESENCE_COPRESENCE_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698