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

Side by Side Diff: chrome/browser/policy/configuration_policy_handler_list_factory.cc

Issue 2819793002: Translate: do not show the context menu entry when the feature is disabled (Closed)
Patch Set: some more include path changes for ios/android Created 3 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/policy/configuration_policy_handler_list_factory.h" 5 #include "chrome/browser/policy/configuration_policy_handler_list_factory.h"
6 6
7 #include <limits.h> 7 #include <limits.h>
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <utility> 10 #include <utility>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 #include "components/policy/core/common/policy_pref_names.h" 46 #include "components/policy/core/common/policy_pref_names.h"
47 #include "components/policy/core/common/schema.h" 47 #include "components/policy/core/common/schema.h"
48 #include "components/policy/policy_constants.h" 48 #include "components/policy/policy_constants.h"
49 #include "components/prefs/pref_value_map.h" 49 #include "components/prefs/pref_value_map.h"
50 #include "components/search_engines/default_search_policy_handler.h" 50 #include "components/search_engines/default_search_policy_handler.h"
51 #include "components/signin/core/common/signin_pref_names.h" 51 #include "components/signin/core/common/signin_pref_names.h"
52 #include "components/spellcheck/spellcheck_build_features.h" 52 #include "components/spellcheck/spellcheck_build_features.h"
53 #include "components/ssl_config/ssl_config_prefs.h" 53 #include "components/ssl_config/ssl_config_prefs.h"
54 #include "components/sync/base/pref_names.h" 54 #include "components/sync/base/pref_names.h"
55 #include "components/sync/driver/sync_policy_handler.h" 55 #include "components/sync/driver/sync_policy_handler.h"
56 #include "components/translate/core/common/translate_pref_names.h" 56 #include "components/translate/core/browser/translate_pref_names.h"
57 #include "components/variations/pref_names.h" 57 #include "components/variations/pref_names.h"
58 #include "extensions/features/features.h" 58 #include "extensions/features/features.h"
59 #include "media/media_features.h" 59 #include "media/media_features.h"
60 #include "ppapi/features/features.h" 60 #include "ppapi/features/features.h"
61 61
62 #if defined(OS_ANDROID) 62 #if defined(OS_ANDROID)
63 #include "chrome/browser/search/contextual_search_policy_handler_android.h" 63 #include "chrome/browser/search/contextual_search_policy_handler_android.h"
64 #endif 64 #endif
65 65
66 #if defined(OS_CHROMEOS) 66 #if defined(OS_CHROMEOS)
(...skipping 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 #endif // defined(OS_CHROMEOS) 1036 #endif // defined(OS_CHROMEOS)
1037 1037
1038 #if BUILDFLAG(ENABLE_PLUGINS) 1038 #if BUILDFLAG(ENABLE_PLUGINS)
1039 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>()); 1039 handlers->AddHandler(base::MakeUnique<PluginPolicyHandler>());
1040 #endif // BUILDFLAG(ENABLE_PLUGINS) 1040 #endif // BUILDFLAG(ENABLE_PLUGINS)
1041 1041
1042 return handlers; 1042 return handlers;
1043 } 1043 }
1044 1044
1045 } // namespace policy 1045 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698