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

Unified Diff: chrome_frame/tools/helper_shutdown.py

Issue 126143005: Remove Chrome Frame code and resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync to r244038 Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome_frame/test_utils.cc ('k') | chrome_frame/tools/smoke_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/tools/helper_shutdown.py
diff --git a/chrome_frame/tools/helper_shutdown.py b/chrome_frame/tools/helper_shutdown.py
deleted file mode 100755
index a8188087f73f0ac7921b7639da332fce51381895..0000000000000000000000000000000000000000
--- a/chrome_frame/tools/helper_shutdown.py
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-"""This is a simple helper script to shut down the Chrome Frame helper process.
-
-Requires Python Win32 extensions.
-"""
-
-import pywintypes
-import sys
-import win32gui
-import win32con
-
-
-def main():
- exit_code = 0
- window = win32gui.FindWindow('ChromeFrameHelperWindowClass',
- 'ChromeFrameHelperWindowName')
- if not window:
- print 'Chrome Frame helper process not running.'
- else:
- try:
- win32gui.PostMessage(window, win32con.WM_CLOSE, 0, 0)
- print 'Chrome Frame helper process shut down.'
- except pywintypes.error as ex:
- print 'Failed to shutdown Chrome Frame helper process: '
- print ex
- exit_code = 1
- return exit_code
-
-
-if __name__ == '__main__':
- sys.exit(main())
« no previous file with comments | « chrome_frame/test_utils.cc ('k') | chrome_frame/tools/smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698