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

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

Issue 1543053002: Switch to standard integer types in extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@int-extensions-browser
Patch Set: Created 5 years 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 (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 "extensions/common/extension_resource.h" 5 #include "extensions/common/extension_resource.h"
6 6
7 #include <stddef.h>
8
7 #include "base/files/file_util.h" 9 #include "base/files/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 }
15 17
16 ExtensionResource::ExtensionResource(const std::string& extension_id, 18 ExtensionResource::ExtensionResource(const std::string& extension_id,
(...skipping 102 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.cc ('k') | extensions/common/extension_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698