-
Notifications
You must be signed in to change notification settings - Fork 0
/
12.patch
126 lines (121 loc) · 6.05 KB
/
12.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
--- a/chrome/common/chrome_paths_linux.cc
+++ b/chrome/common/chrome_paths_linux.cc
@@ -87,11 +87,7 @@ bool GetDefaultUserDataDirectory(base::F
GetXDGDirectory(env.get(), kXdgConfigHomeEnvVar, kDotConfigDir);
}
-#if defined(GOOGLE_CHROME_BUILD)
- *result = config_dir.Append("google-chrome" + GetChannelSuffixForDataDir());
-#else
- *result = config_dir.Append("chromium");
-#endif
+ *result = config_dir.Append("snox");
return true;
}
--- a/chrome/app/chromium_strings.grd
+++ b/chrome/app/chromium_strings.grd
@@ -130,10 +130,10 @@
Disconnecting <ph name="USERNAME">$1<ex>[email protected]</ex></ph> will clear your history, bookmarks, settings, and other Chromium data stored on this device. Data stored in your Google Account will not be cleared and can be managed on <ph name="GOOGLE_DASHBOARD_LINK"><a target="_blank" href="$2"></ph>Google Dashboard<ph name="END_GOOGLE_DASHBOARD_LINK"></a></ph>.
</message>
<message name="IDS_PRODUCT_NAME" desc="The Chrome application name">
- Chromium
+ Snox
</message>
<message name="IDS_SHORT_PRODUCT_NAME" desc="The Chrome application short name.">
- Chromium
+ Snox
</message>
<if expr="is_win">
<message name="IDS_SXS_SHORTCUT_NAME" desc="Unused in Chromium builds" translateable="false">
@@ -143,7 +143,7 @@
<message name="IDS_SHORTCUT_NAME_DEV" desc="Unused in Chromium builds" translateable="false">
</message>
<message name="IDS_PRODUCT_DESCRIPTION" desc="Browser description">
- Chromium is a web browser that runs webpages and applications with lightning speed. It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into Chromium.
+ Snox is a web browser that runs webpages and applications with lightning speed. It's fast, stable, and easy to use. Browse the web more safely with malware and phishing protection built into Chromium.
</message>
</if>
<if expr="chromeos">
@@ -166,7 +166,7 @@
sign in to Chromium
</message>
<message name="IDS_TASK_MANAGER_TITLE" desc="The title of the Task Manager window">
- Task Manager - Chromium
+ Task Manager - Snox
</message>
<message name="IDS_SESSION_CRASHED_VIEW_UMA_OPTIN" desc="Text besides the checkbox to let users optin to UMA in the restore from previous crash bubble.">
Help make Chromium better by sending crash reports and <ph name="UMA_LINK">$1<ex>usage statistics</ex></ph> to Google
@@ -174,7 +174,7 @@
<if expr="not chromeos">
<!-- Browser Window Title Format -->
<message name="IDS_BROWSER_WINDOW_TITLE_FORMAT" desc="The format for titles displayed in tabs and popup windows">
- <ph name="PAGE_TITLE">$1<ex>Google</ex></ph> - Chromium
+ <ph name="PAGE_TITLE">$1<ex>Google</ex></ph> - Snox
</message>
</if>
<if expr="chromeos">
@@ -249,7 +249,7 @@
<!-- Uninstall messages -->
<if expr="is_win">
<message name="IDS_UNINSTALL_CLOSE_APP" desc="Message to user when uninstall detects other app instance running">
- Please close all Chromium windows and try again.
+ Please close all Snox windows and try again.
</message>
<message name="IDS_UNINSTALL_VERIFY" desc="Message to confirm user wants to uninstall">
Are you sure you want to uninstall Chromium?
@@ -602,7 +602,7 @@
<if expr="use_titlecase and not chromeos">
<message name="IDS_ABOUT" desc="In Title Case: The text label of the About Chrome menu item">
- About &Chromium
+ About &Snox
</message>
<message name="IDS_UPDATE_NOW" desc="In Title Case: The text label of the Update Chrome Now menu item">
Update &Chromium
@@ -610,7 +610,7 @@
</if>
<if expr="not use_titlecase and not chromeos">
<message name="IDS_ABOUT" desc="The text label of the About Chrome menu item">
- About &Chromium
+ About &Snox
</message>
<message name="IDS_UPDATE_NOW" desc="The text label of the Update Chrome Now menu item">
Update &Chromium
@@ -627,7 +627,7 @@
<if expr="is_macosx">
<message name="IDS_APP_MENU_PRODUCT_NAME" desc="The application's short name, used for the Mac's application menu, activity monitor, etc. This should be less than 16 characters. Example: Chrome, not Google Chrome.">
- Chromium
+ Snox
</message>
<message name="IDS_HELPER_NAME" desc="The helper application's name. Should contain the Chrome application name (IDS_PRODUCT_NAME). Example: Google Chrome Helper.">
Chromium Helper
--- a/chrome/test/chromedriver/chrome/chrome_finder.cc
+++ b/chrome/test/chromedriver/chrome/chrome_finder.cc
@@ -91,15 +91,12 @@ void GetApplicationDirs(std::vector<base
bool FindChrome(base::FilePath* browser_exe) {
base::FilePath browser_exes_array[] = {
#if defined(OS_WIN)
- base::FilePath(L"chrome.exe")
+ base::FilePath(L"snox.exe")
#elif defined(OS_MACOSX)
- base::FilePath("Google Chrome.app/Contents/MacOS/Google Chrome"),
- base::FilePath("Chromium.app/Contents/MacOS/Chromium")
+ base::FilePath("Google Chrome.app/Contents/MacOS/Snox"),
+ base::FilePath("Snox.app/Contents/MacOS/Snox")
#elif defined(OS_LINUX)
- base::FilePath("google-chrome"),
- base::FilePath("chrome"),
- base::FilePath("chromium"),
- base::FilePath("chromium-browser")
+ base::FilePath("snox"),
#else
// it will compile but won't work on other OSes
base::FilePath()
--- a/chrome/common/chrome_paths.cc
+++ b/chrome/common/chrome_paths.cc
@@ -58,7 +58,7 @@ const base::FilePath::CharType kFilepath
#if defined(GOOGLE_CHROME_BUILD)
FILE_PATH_LITERAL("/usr/share/google-chrome/extensions");
#else
- FILE_PATH_LITERAL("/usr/share/chromium/extensions");
+ FILE_PATH_LITERAL("/usr/share/snox/extensions");
#endif // defined(GOOGLE_CHROME_BUILD)
// The path to the hint file that tells the pepper plugin loader