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

Side by Side Diff: tools/skiaserve/urlhandlers/UrlHandler.h

Issue 1842753002: Style bikeshed - remove extraneous whitespace (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | « tools/skiaserve/urlhandlers/RootHandler.cpp ('k') | tools/skpmaker.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #include "SkColor.h" 8 #include "SkColor.h"
9 9
10 struct MHD_Connection; 10 struct MHD_Connection;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 */ 49 */
50 class ClipAlphaHandler : public UrlHandler { 50 class ClipAlphaHandler : public UrlHandler {
51 public: 51 public:
52 bool canHandle(const char* method, const char* url) override; 52 bool canHandle(const char* method, const char* url) override;
53 int handle(Request* request, MHD_Connection* connection, 53 int handle(Request* request, MHD_Connection* connection,
54 const char* url, const char* method, 54 const char* url, const char* method,
55 const char* upload_data, size_t* upload_data_size) override; 55 const char* upload_data, size_t* upload_data_size) override;
56 }; 56 };
57 57
58 /** 58 /**
59 Controls whether GPU rendering is enabled. Posting to /enableGPU/1 turns GPU on, /enableGPU/0 59 Controls whether GPU rendering is enabled. Posting to /enableGPU/1 turns GPU on, /enableGPU/0
60 disables it. 60 disables it.
61 */ 61 */
62 class EnableGPUHandler : public UrlHandler { 62 class EnableGPUHandler : public UrlHandler {
63 public: 63 public:
64 bool canHandle(const char* method, const char* url) override; 64 bool canHandle(const char* method, const char* url) override;
65 int handle(Request* request, MHD_Connection* connection, 65 int handle(Request* request, MHD_Connection* connection,
66 const char* url, const char* method, 66 const char* url, const char* method,
67 const char* upload_data, size_t* upload_data_size) override; 67 const char* upload_data, size_t* upload_data_size) override;
68 }; 68 };
69 69
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 const char* upload_data, size_t* upload_data_size) override; 121 const char* upload_data, size_t* upload_data_size) override;
122 }; 122 };
123 123
124 class RootHandler : public UrlHandler { 124 class RootHandler : public UrlHandler {
125 public: 125 public:
126 bool canHandle(const char* method, const char* url) override; 126 bool canHandle(const char* method, const char* url) override;
127 int handle(Request* request, MHD_Connection* connection, 127 int handle(Request* request, MHD_Connection* connection,
128 const char* url, const char* method, 128 const char* url, const char* method,
129 const char* upload_data, size_t* upload_data_size) override; 129 const char* upload_data, size_t* upload_data_size) override;
130 }; 130 };
131
OLDNEW
« no previous file with comments | « tools/skiaserve/urlhandlers/RootHandler.cpp ('k') | tools/skpmaker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698