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

Side by Side Diff: sandbox/win/src/crosscall_server.cc

Issue 1106203002: sandbox/win: Fix warnings found by clang chromium-style plugin on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « sandbox/win/src/crosscall_server.h ('k') | sandbox/win/src/handle_closer.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "sandbox/win/src/crosscall_server.h"
6
5 #include <string> 7 #include <string>
6 #include <vector> 8 #include <vector>
7 9
8 #include "sandbox/win/src/crosscall_server.h"
9 #include "sandbox/win/src/crosscall_params.h" 10 #include "sandbox/win/src/crosscall_params.h"
10 #include "sandbox/win/src/crosscall_client.h" 11 #include "sandbox/win/src/crosscall_client.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 13
13 // This code performs the ipc message validation. Potential security flaws 14 // This code performs the ipc message validation. Potential security flaws
14 // on the ipc are likelier to be found in this code than in the rest of 15 // on the ipc are likelier to be found in this code than in the rest of
15 // the ipc code. 16 // the ipc code.
16 17
17 namespace { 18 namespace {
18 19
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 std::vector<IPCCall>::iterator it = ipc_calls_.begin(); 291 std::vector<IPCCall>::iterator it = ipc_calls_.begin();
291 for (; it != ipc_calls_.end(); ++it) { 292 for (; it != ipc_calls_.end(); ++it) {
292 if (it->params.Matches(ipc)) { 293 if (it->params.Matches(ipc)) {
293 *callback = it->callback; 294 *callback = it->callback;
294 return this; 295 return this;
295 } 296 }
296 } 297 }
297 return NULL; 298 return NULL;
298 } 299 }
299 300
301 Dispatcher::Dispatcher() {
302 }
303
304 Dispatcher::~Dispatcher() {
305 }
306
300 } // namespace sandbox 307 } // namespace sandbox
OLDNEW
« no previous file with comments | « sandbox/win/src/crosscall_server.h ('k') | sandbox/win/src/handle_closer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698