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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 1313383006: Don't compile save_password_infobar_delegate.cc everywhere but Mac and Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase against ToT Created 5 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
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 "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after
1540 IDS_FLAGS_BLEEDING_RENDERER_NAME, 1540 IDS_FLAGS_BLEEDING_RENDERER_NAME,
1541 IDS_FLAGS_BLEEDING_RENDERER_DESCRIPTION, 1541 IDS_FLAGS_BLEEDING_RENDERER_DESCRIPTION,
1542 kOsAndroid, 1542 kOsAndroid,
1543 SINGLE_VALUE_TYPE(switches::kEnableBleedingEdgeRenderingFastPaths)}, 1543 SINGLE_VALUE_TYPE(switches::kEnableBleedingEdgeRenderingFastPaths)},
1544 {"enable-settings-window", 1544 {"enable-settings-window",
1545 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_NAME, 1545 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_NAME,
1546 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_DESCRIPTION, 1546 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_DESCRIPTION,
1547 kOsDesktop, 1547 kOsDesktop,
1548 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow, 1548 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow,
1549 switches::kDisableSettingsWindow)}, 1549 switches::kDisableSettingsWindow)},
1550 #if defined(OS_MACOSX)
1550 {"enable-save-password-bubble", 1551 {"enable-save-password-bubble",
1551 IDS_FLAGS_ENABLE_SAVE_PASSWORD_BUBBLE_NAME, 1552 IDS_FLAGS_ENABLE_SAVE_PASSWORD_BUBBLE_NAME,
1552 IDS_FLAGS_ENABLE_SAVE_PASSWORD_BUBBLE_DESCRIPTION, 1553 IDS_FLAGS_ENABLE_SAVE_PASSWORD_BUBBLE_DESCRIPTION,
1553 kOsWin | kOsLinux | kOsCrOS | kOsMac, 1554 kOsMac,
1554 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSavePasswordBubble, 1555 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSavePasswordBubble,
1555 switches::kDisableSavePasswordBubble)}, 1556 switches::kDisableSavePasswordBubble)},
1557 #endif
1556 {"enable-apps-file-associations", 1558 {"enable-apps-file-associations",
1557 IDS_FLAGS_ENABLE_APPS_FILE_ASSOCIATIONS_NAME, 1559 IDS_FLAGS_ENABLE_APPS_FILE_ASSOCIATIONS_NAME,
1558 IDS_FLAGS_ENABLE_APPS_FILE_ASSOCIATIONS_DESCRIPTION, 1560 IDS_FLAGS_ENABLE_APPS_FILE_ASSOCIATIONS_DESCRIPTION,
1559 kOsMac, 1561 kOsMac,
1560 SINGLE_VALUE_TYPE(switches::kEnableAppsFileAssociations)}, 1562 SINGLE_VALUE_TYPE(switches::kEnableAppsFileAssociations)},
1561 #if defined(OS_ANDROID) 1563 #if defined(OS_ANDROID)
1562 {"enable-embeddedsearch-api", 1564 {"enable-embeddedsearch-api",
1563 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_NAME, 1565 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_NAME,
1564 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_DESCRIPTION, 1566 IDS_FLAGS_ENABLE_EMBEDDEDSEARCH_API_DESCRIPTION,
1565 kOsAndroid, 1567 kOsAndroid,
(...skipping 1119 matching lines...) Expand 10 before | Expand all | Expand 10 after
2685 } 2687 }
2686 2688
2687 const Experiment* GetExperiments(size_t* count) { 2689 const Experiment* GetExperiments(size_t* count) {
2688 *count = num_experiments; 2690 *count = num_experiments;
2689 return experiments; 2691 return experiments;
2690 } 2692 }
2691 2693
2692 } // namespace testing 2694 } // namespace testing
2693 2695
2694 } // namespace about_flags 2696 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/password_manager/chrome_password_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698