OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |