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

Side by Side Diff: blimp/client/public/blimp_client_context_delegate.h

Issue 2447483002: Test win_clang compile only check in core/resources. (Closed)
Patch Set: filter win platform build Created 4 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 unified diff | Download patch
« no previous file with comments | « blimp/client/public/DEPS ('k') | blimp/client/public/resources/BUILD.gn » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_DELEGATE_H_ 5 #ifndef BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
6 #define BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_DELEGATE_H_ 6 #define BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "blimp/client/public/session/assignment.h" 9 #include "blimp/client/public/session/assignment.h"
10 10
(...skipping 22 matching lines...) Expand all
33 virtual void OnAssignmentConnectionAttempted( 33 virtual void OnAssignmentConnectionAttempted(
34 AssignmentRequestResult result, 34 AssignmentRequestResult result,
35 const Assignment& assignment) = 0; 35 const Assignment& assignment) = 0;
36 36
37 // Create IdentityProvider for OAuth2 token retrieval, used in Authenticator. 37 // Create IdentityProvider for OAuth2 token retrieval, used in Authenticator.
38 virtual std::unique_ptr<IdentityProvider> CreateIdentityProvider() = 0; 38 virtual std::unique_ptr<IdentityProvider> CreateIdentityProvider() = 0;
39 39
40 // Propagate authentication error to the embedder. 40 // Propagate authentication error to the embedder.
41 virtual void OnAuthenticationError(const GoogleServiceAuthError& error) = 0; 41 virtual void OnAuthenticationError(const GoogleServiceAuthError& error) = 0;
42 42
43 // Called when the client connected to the engine. 43 // Called when the client is connected to the engine.
44 virtual void OnConnected() = 0; 44 virtual void OnConnected() = 0;
45 45
46 // Called when the client is disconnected from the engine. 46 // Called when the client is disconnected from the engine.
47 // See EndConnectionMessage::Reason. 47 // See EndConnectionMessage::Reason.
48 virtual void OnEngineDisconnected(int result) = 0; 48 virtual void OnEngineDisconnected(int result) = 0;
49 49
50 // Called when the network is disconnected. 50 // Called when the network is disconnected.
51 // See /net/base/net_errors.h. 51 // See /net/base/net_errors.h.
52 virtual void OnNetworkDisconnected(int result) = 0; 52 virtual void OnNetworkDisconnected(int result) = 0;
53 53
54 protected: 54 protected:
55 BlimpClientContextDelegate() = default; 55 BlimpClientContextDelegate() = default;
56 56
57 private: 57 private:
58 DISALLOW_COPY_AND_ASSIGN(BlimpClientContextDelegate); 58 DISALLOW_COPY_AND_ASSIGN(BlimpClientContextDelegate);
59 }; 59 };
60 60
61 } // namespace client 61 } // namespace client
62 } // namespace blimp 62 } // namespace blimp
63 63
64 #endif // BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_DELEGATE_H_ 64 #endif // BLIMP_CLIENT_PUBLIC_BLIMP_CLIENT_CONTEXT_DELEGATE_H_
OLDNEW
« no previous file with comments | « blimp/client/public/DEPS ('k') | blimp/client/public/resources/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698