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

Side by Side Diff: chrome/browser/extensions/extension_file_util.cc

Issue 337041: Fix bug where many extensions don't install due to sandbox. (Closed)
Patch Set: Attempt to fix a deps issue Created 11 years, 1 month 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 | « no previous file | chrome/browser/utility_process_host.cc » ('j') | chrome/chrome.gyp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/extensions/extension_file_util.h" 5 #include "chrome/browser/extensions/extension_file_util.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "chrome/browser/extensions/extension_prefs.h" 12 #include "chrome/browser/extensions/extension_prefs.h"
13 #include "chrome/browser/extensions/extension_l10n_util.h"
14 #include "chrome/common/extensions/extension.h" 13 #include "chrome/common/extensions/extension.h"
14 #include "chrome/common/extensions/extension_l10n_util.h"
15 #include "chrome/common/extensions/extension_constants.h" 15 #include "chrome/common/extensions/extension_constants.h"
16 #include "chrome/common/json_value_serializer.h" 16 #include "chrome/common/json_value_serializer.h"
17 #include "net/base/file_stream.h" 17 #include "net/base/file_stream.h"
18 18
19 namespace extension_file_util { 19 namespace extension_file_util {
20 20
21 const char kInstallDirectoryName[] = "Extensions"; 21 const char kInstallDirectoryName[] = "Extensions";
22 // TODO(mpcomplete): obsolete. remove after migration period. 22 // TODO(mpcomplete): obsolete. remove after migration period.
23 // http://code.google.com/p/chromium/issues/detail?id=19733 23 // http://code.google.com/p/chromium/issues/detail?id=19733
24 const char kCurrentVersionFileName[] = "Current Version"; 24 const char kCurrentVersionFileName[] = "Current Version";
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 "Filenames starting with \"_\" are reserved for use by the system.", 401 "Filenames starting with \"_\" are reserved for use by the system.",
402 filename.c_str()); 402 filename.c_str());
403 return false; 403 return false;
404 } 404 }
405 } 405 }
406 406
407 return true; 407 return true;
408 } 408 }
409 409
410 } // namespace extension_file_util 410 } // namespace extension_file_util
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/utility_process_host.cc » ('j') | chrome/chrome.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698