Add profiler toast strings to resource overlay.

We don't currently use the profiler but we may want to support this in
future, so add the strings to satisfy the upstream code for now.

Change-Id: Ic070e4433690bd8e0915be669a22b2fa13b00138
diff --git a/chromium/java/com/android/webview/chromium/ResourceProvider.java b/chromium/java/com/android/webview/chromium/ResourceProvider.java
index 42c8321..d063d2b 100644
--- a/chromium/java/com/android/webview/chromium/ResourceProvider.java
+++ b/chromium/java/com/android/webview/chromium/ResourceProvider.java
@@ -175,6 +175,14 @@
                 com.android.internal.R.string.webviewchromium_media_player_loading_video;
         org.chromium.content.R.string.month_picker_dialog_title =
                 com.android.internal.R.string.webviewchromium_month_picker_dialog_title;
+        org.chromium.content.R.string.profiler_error_toast =
+                com.android.internal.R.string.webviewchromium_profiler_error_toast;
+        org.chromium.content.R.string.profiler_no_storage_toast =
+                com.android.internal.R.string.webviewchromium_profiler_no_storage_toast;
+        org.chromium.content.R.string.profiler_started_toast =
+                com.android.internal.R.string.webviewchromium_profiler_started_toast;
+        org.chromium.content.R.string.profiler_stopped_toast =
+                com.android.internal.R.string.webviewchromium_profiler_stopped_toast;
         org.chromium.content.R.string.time_picker_dialog_am =
                 com.android.internal.R.string.webviewchromium_time_picker_dialog_am;
         org.chromium.content.R.string.time_picker_dialog_pm =
diff --git a/chromium/overlay/frameworks/base/core/res/res/values/chromium-resources.xml b/chromium/overlay/frameworks/base/core/res/res/values/chromium-resources.xml
index c82d374..4953dbe 100644
--- a/chromium/overlay/frameworks/base/core/res/res/values/chromium-resources.xml
+++ b/chromium/overlay/frameworks/base/core/res/res/values/chromium-resources.xml
@@ -73,6 +73,10 @@
   <add-resource type="string" name="webviewchromium_month_picker_dialog_title" />
   <add-resource type="string" name="webviewchromium_opening_file_error" />
   <add-resource type="string" name="webviewchromium_private_browsing_warning" />
+  <add-resource type="string" name="webviewchromium_profiler_started_toast" />
+  <add-resource type="string" name="webviewchromium_profiler_stopped_toast" />
+  <add-resource type="string" name="webviewchromium_profiler_no_storage_toast" />
+  <add-resource type="string" name="webviewchromium_profiler_error_toast" />
   <add-resource type="string" name="webviewchromium_time_picker_dialog_am" />
   <add-resource type="string" name="webviewchromium_time_picker_dialog_hour_minute_separator" />
   <add-resource type="string" name="webviewchromium_time_picker_dialog_minute_second_separator" />
diff --git a/chromium/overlay/frameworks/base/core/res/res/values/chromium-symbols.xml b/chromium/overlay/frameworks/base/core/res/res/values/chromium-symbols.xml
index 63d4235..1f918e1 100644
--- a/chromium/overlay/frameworks/base/core/res/res/values/chromium-symbols.xml
+++ b/chromium/overlay/frameworks/base/core/res/res/values/chromium-symbols.xml
@@ -77,6 +77,10 @@
   <java-symbol type="string" name="webviewchromium_month_picker_dialog_title" />
   <java-symbol type="string" name="webviewchromium_opening_file_error" />
   <java-symbol type="string" name="webviewchromium_private_browsing_warning" />
+  <java-symbol type="string" name="webviewchromium_profiler_started_toast" />
+  <java-symbol type="string" name="webviewchromium_profiler_stopped_toast" />
+  <java-symbol type="string" name="webviewchromium_profiler_no_storage_toast" />
+  <java-symbol type="string" name="webviewchromium_profiler_error_toast" />
   <java-symbol type="string" name="webviewchromium_time_picker_dialog_am" />
   <java-symbol type="string" name="webviewchromium_time_picker_dialog_hour_minute_separator" />
   <java-symbol type="string" name="webviewchromium_time_picker_dialog_minute_second_separator" />
diff --git a/chromium/overlay/frameworks/base/core/res/res/values/strings.xml b/chromium/overlay/frameworks/base/core/res/res/values/strings.xml
index a4ed925..878e044 100644
--- a/chromium/overlay/frameworks/base/core/res/res/values/strings.xml
+++ b/chromium/overlay/frameworks/base/core/res/res/values/strings.xml
@@ -102,4 +102,13 @@
     <!-- Warning shown when the app tries to create a private browsing WebView,
          which is not supported. [CHAR-LIMIT=NONE] -->
     <string name="webviewchromium_private_browsing_warning">This functionality is not supported in this version of Android.</string>
+
+    <!-- Toast notifying the user that profiler started [CHAR-LIMIT=32] -->
+    <string name="webviewchromium_profiler_started_toast">Profiler started</string>
+    <!-- Toast notifying the user that profiler results were written to a file [CHAR-LIMIT=80] -->
+    <string name="webviewchromium_profiler_stopped_toast">Profiler finished. Results are in %1$s.</string>
+    <!-- Toast notifying the user that we can't start profiler because there's no external storage [CHAR-LIMIT=80] -->
+    <string name="webviewchromium_profiler_no_storage_toast">Can\'t start profiler because external storage is not ready</string>
+    <!-- Toast notifying the user that we failed to start profiler [CHAR-LIMIT=80] -->
+    <string name="webviewchromium_profiler_error_toast">Failed to start profiler</string>
 </resources>