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

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

Issue 254463004: Cleanup coding style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase about crx_file.h modified already. (issue: 225493002) Created 6 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 | « extensions/common/extension_messages.h ('k') | extensions/common/extension_set.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 <vector>
6
5 #include "extensions/common/extension_resource.h" 7 #include "extensions/common/extension_resource.h"
6 8
7 #include "base/file_util.h" 9 #include "base/file_util.h"
8 #include "base/logging.h" 10 #include "base/logging.h"
9 #include "base/threading/thread_restrictions.h" 11 #include "base/threading/thread_restrictions.h"
10 12
11 namespace extensions { 13 namespace extensions {
12 14
13 ExtensionResource::ExtensionResource() : follow_symlinks_anywhere_(false) { 15 ExtensionResource::ExtensionResource() : follow_symlinks_anywhere_(false) {
14 } 16 }
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 GetFilePath(); 121 GetFilePath();
120 if (NormalizeSeperators(path.value()) == 122 if (NormalizeSeperators(path.value()) ==
121 NormalizeSeperators(full_resource_path_.value())) { 123 NormalizeSeperators(full_resource_path_.value())) {
122 return true; 124 return true;
123 } else { 125 } else {
124 return false; 126 return false;
125 } 127 }
126 } 128 }
127 129
128 } // namespace extensions 130 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/extension_messages.h ('k') | extensions/common/extension_set.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698