| OLD | NEW |
| 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_frame/turndown_prompt/turndown_prompt.h" | 5 #include "chrome_frame/turndown_prompt/turndown_prompt.h" |
| 6 | 6 |
| 7 #include <atlbase.h> | 7 #include <atlbase.h> |
| 8 #include <shlguid.h> | 8 #include <shlguid.h> |
| 9 | 9 |
| 10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/process_util.h" | 15 #include "base/process/launch.h" |
| 16 #include "base/win/scoped_bstr.h" | 16 #include "base/win/scoped_bstr.h" |
| 17 #include "base/win/scoped_comptr.h" | 17 #include "base/win/scoped_comptr.h" |
| 18 #include "base/win/win_util.h" | 18 #include "base/win/win_util.h" |
| 19 #include "chrome/installer/util/browser_distribution.h" | 19 #include "chrome/installer/util/browser_distribution.h" |
| 20 #include "chrome/installer/util/google_update_settings.h" | 20 #include "chrome/installer/util/google_update_settings.h" |
| 21 #include "chrome/installer/util/install_util.h" | 21 #include "chrome/installer/util/install_util.h" |
| 22 #include "chrome/installer/util/installation_state.h" | 22 #include "chrome/installer/util/installation_state.h" |
| 23 #include "chrome/installer/util/util_constants.h" | 23 #include "chrome/installer/util/util_constants.h" |
| 24 #include "chrome_frame/infobars/infobar_manager.h" | 24 #include "chrome_frame/infobars/infobar_manager.h" |
| 25 #include "chrome_frame/policy_settings.h" | 25 #include "chrome_frame/policy_settings.h" |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 // See if the prompt is explicitly suppressed via GP. | 293 // See if the prompt is explicitly suppressed via GP. |
| 294 return PolicySettings::GetInstance()->suppress_turndown_prompt(); | 294 return PolicySettings::GetInstance()->suppress_turndown_prompt(); |
| 295 } | 295 } |
| 296 | 296 |
| 297 void Configure(IWebBrowser2* web_browser) { | 297 void Configure(IWebBrowser2* web_browser) { |
| 298 if (!IsPromptSuppressed()) | 298 if (!IsPromptSuppressed()) |
| 299 InstallPrompts(web_browser); | 299 InstallPrompts(web_browser); |
| 300 } | 300 } |
| 301 | 301 |
| 302 } // namespace turndown_prompt | 302 } // namespace turndown_prompt |
| OLD | NEW |