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

Side by Side Diff: components/copresence/public/copresence_client_delegate.h

Issue 469883002: Using API key specified from js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing API build 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
« no previous file with comments | « components/copresence/proto/rpcs.proto ('k') | components/copresence/rpc/http_post.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CLIENT_DELEGATE_H_ 5 #ifndef COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CLIENT_DELEGATE_H_
6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CLIENT_DELEGATE_H_ 6 #define COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CLIENT_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 20 matching lines...) Expand all
31 // be sent to their respective apps. 31 // be sent to their respective apps.
32 virtual void HandleMessages( 32 virtual void HandleMessages(
33 const std::string& app_id, 33 const std::string& app_id,
34 const std::string& subscription_id, 34 const std::string& subscription_id,
35 const std::vector<Message>& message) = 0; 35 const std::vector<Message>& message) = 0;
36 36
37 virtual net::URLRequestContextGetter* GetRequestContext() const = 0; 37 virtual net::URLRequestContextGetter* GetRequestContext() const = 0;
38 38
39 virtual const std::string GetPlatformVersionString() const = 0; 39 virtual const std::string GetPlatformVersionString() const = 0;
40 40
41 virtual const std::string GetAPIKey() const = 0;
42
41 virtual WhispernetClient* GetWhispernetClient() = 0; 43 virtual WhispernetClient* GetWhispernetClient() = 0;
42 }; 44 };
43 45
44 } // namespace copresence 46 } // namespace copresence
45 47
46 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CLIENT_DELEGATE_H_ 48 #endif // COMPONENTS_COPRESENCE_PUBLIC_COPRESENCE_CLIENT_DELEGATE_H_
OLDNEW
« no previous file with comments | « components/copresence/proto/rpcs.proto ('k') | components/copresence/rpc/http_post.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698