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

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

Issue 7741020: Put archive file handling support behind a flag for M14. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/resources/file_manager/js/file_manager.js » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_browser_private_api.h" 5 #include "chrome/browser/extensions/extension_file_browser_private_api.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/json/json_writer.h" 9 #include "base/json/json_writer.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after
1520 SET_STRING(IDS_FILE_BROWSER, ID3_USER_DEFINED_URL_LINK_FRAME); // WXXX 1520 SET_STRING(IDS_FILE_BROWSER, ID3_USER_DEFINED_URL_LINK_FRAME); // WXXX
1521 1521
1522 SET_STRING(IDS_FILEBROWSER, ENQUEUE); 1522 SET_STRING(IDS_FILEBROWSER, ENQUEUE);
1523 #undef SET_STRING 1523 #undef SET_STRING
1524 1524
1525 // TODO(serya): Create a new string in .grd file for this one in M13. 1525 // TODO(serya): Create a new string in .grd file for this one in M13.
1526 dict->SetString("PREVIEW_IMAGE", 1526 dict->SetString("PREVIEW_IMAGE",
1527 l10n_util::GetStringUTF16(IDS_CERT_MANAGER_VIEW_CERT_BUTTON)); 1527 l10n_util::GetStringUTF16(IDS_CERT_MANAGER_VIEW_CERT_BUTTON));
1528 dict->SetString("PLAY_MEDIA", 1528 dict->SetString("PLAY_MEDIA",
1529 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY)); 1529 l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_PLAY));
1530 if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kEnableArchives))
1531 dict->SetString("ENABLE_ARCHIVES", "true");
1530 1532
1531 return true; 1533 return true;
1532 } 1534 }
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/resources/file_manager/js/file_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698