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

Side by Side Diff: extensions/common/csp_validator.cc

Issue 254463004: Cleanup coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 <vector>
6
5 #include "extensions/common/csp_validator.h" 7 #include "extensions/common/csp_validator.h"
6 8
7 #include "base/strings/string_split.h" 9 #include "base/strings/string_split.h"
8 #include "base/strings/string_tokenizer.h" 10 #include "base/strings/string_tokenizer.h"
9 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
10 12
11 namespace extensions { 13 namespace extensions {
12 14
13 namespace csp_validator { 15 namespace csp_validator {
14 16
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 if (type == Manifest::TYPE_PLATFORM_APP) { 190 if (type == Manifest::TYPE_PLATFORM_APP) {
189 if (token == kAllowTopNavigation) 191 if (token == kAllowTopNavigation)
190 return false; 192 return false;
191 } 193 }
192 } 194 }
193 } 195 }
194 196
195 return seen_sandbox; 197 return seen_sandbox;
196 } 198 }
197 199
198 } // csp_validator 200 } // namespace csp_validator
199 201
200 } // extensions 202 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698