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

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

Issue 535673004: Gallery: Fix scrolling by touch in the mosaic view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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_paths.cc ('k') | extensions/common/extension_resource_unittest.cc » ('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 "extensions/common/extension_resource.h" 5 #include "extensions/common/extension_resource.h"
6 6
7 #include "base/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/threading/thread_restrictions.h" 9 #include "base/threading/thread_restrictions.h"
10 10
11 namespace extensions { 11 namespace extensions {
12 12
13 ExtensionResource::ExtensionResource() : follow_symlinks_anywhere_(false) { 13 ExtensionResource::ExtensionResource() : follow_symlinks_anywhere_(false) {
14 } 14 }
15 15
16 ExtensionResource::ExtensionResource(const std::string& extension_id, 16 ExtensionResource::ExtensionResource(const std::string& extension_id,
17 const base::FilePath& extension_root, 17 const base::FilePath& extension_root,
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 GetFilePath(); 119 GetFilePath();
120 if (NormalizeSeperators(path.value()) == 120 if (NormalizeSeperators(path.value()) ==
121 NormalizeSeperators(full_resource_path_.value())) { 121 NormalizeSeperators(full_resource_path_.value())) {
122 return true; 122 return true;
123 } else { 123 } else {
124 return false; 124 return false;
125 } 125 }
126 } 126 }
127 127
128 } // namespace extensions 128 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/common/extension_paths.cc ('k') | extensions/common/extension_resource_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698