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

Unified Diff: content/app/strings/rm_old_file.py

Issue 423613003: Move strings from webkit/ to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 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
Index: content/app/strings/rm_old_file.py
diff --git a/content/app/strings/rm_old_file.py b/content/app/strings/rm_old_file.py
new file mode 100644
index 0000000000000000000000000000000000000000..401dbb20051d8deb8456d27c99868a898eb24c94
--- /dev/null
+++ b/content/app/strings/rm_old_file.py
@@ -0,0 +1,19 @@
+#!/usr/bin/env python
+# Copyright 2014 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.
+
+"""Removes an old grit header file."""
+
+# TODO(tfarina): Remove this file in two-three weeks.
+
+import os
+import sys
+
+
+def Main(file_to_remove):
+ if os.path.exists(file_to_remove):
+ os.remove(file_to_remove)
+
+if __name__ == '__main__':
+ sys.exit(Main(sys.argv[1]))

Powered by Google App Engine
This is Rietveld 408576698