OLD | NEW |
---|---|
(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_ | |
OLD | NEW |