| OLD | NEW |
| 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 CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_H_ | 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_H_ |
| 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_H_ | 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "google_apis/gaia/oauth2_token_service.h" | 10 #include "google_apis/gaia/oauth2_token_service.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 private: | 66 private: |
| 67 DISALLOW_COPY_AND_ASSIGN(GCDApiFlow); | 67 DISALLOW_COPY_AND_ASSIGN(GCDApiFlow); |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 class GCDApiFlowRequest : public GCDApiFlow::Request { | 70 class GCDApiFlowRequest : public GCDApiFlow::Request { |
| 71 public: | 71 public: |
| 72 GCDApiFlowRequest(); | 72 GCDApiFlowRequest(); |
| 73 virtual ~GCDApiFlowRequest(); | 73 virtual ~GCDApiFlowRequest(); |
| 74 | 74 |
| 75 // GCDApiFlowRequest implementation | 75 // GCDApiFlowRequest implementation |
| 76 virtual std::string GetOAuthScope() OVERRIDE; | 76 virtual std::string GetOAuthScope() override; |
| 77 virtual std::vector<std::string> GetExtraRequestHeaders() OVERRIDE; | 77 virtual std::vector<std::string> GetExtraRequestHeaders() override; |
| 78 | 78 |
| 79 private: | 79 private: |
| 80 DISALLOW_COPY_AND_ASSIGN(GCDApiFlowRequest); | 80 DISALLOW_COPY_AND_ASSIGN(GCDApiFlowRequest); |
| 81 }; | 81 }; |
| 82 | 82 |
| 83 class CloudPrintApiFlowRequest : public GCDApiFlow::Request { | 83 class CloudPrintApiFlowRequest : public GCDApiFlow::Request { |
| 84 public: | 84 public: |
| 85 CloudPrintApiFlowRequest(); | 85 CloudPrintApiFlowRequest(); |
| 86 virtual ~CloudPrintApiFlowRequest(); | 86 virtual ~CloudPrintApiFlowRequest(); |
| 87 | 87 |
| 88 // GCDApiFlowRequest implementation | 88 // GCDApiFlowRequest implementation |
| 89 virtual std::string GetOAuthScope() OVERRIDE; | 89 virtual std::string GetOAuthScope() override; |
| 90 virtual std::vector<std::string> GetExtraRequestHeaders() OVERRIDE; | 90 virtual std::vector<std::string> GetExtraRequestHeaders() override; |
| 91 | 91 |
| 92 private: | 92 private: |
| 93 DISALLOW_COPY_AND_ASSIGN(CloudPrintApiFlowRequest); | 93 DISALLOW_COPY_AND_ASSIGN(CloudPrintApiFlowRequest); |
| 94 }; | 94 }; |
| 95 | 95 |
| 96 } // namespace local_discovery | 96 } // namespace local_discovery |
| 97 | 97 |
| 98 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_H_ | 98 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_GCD_API_FLOW_H_ |
| OLD | NEW |