Commit 11857736 authored by dschuyler's avatar dschuyler Committed by Commit Bot

[spelling] existance to existence

This CL corrects the spelling of existence.

(code health)
BUG=None
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2916723002
Cr-Commit-Position: refs/heads/master@{#478403}
parent db6f4d79
......@@ -3,5 +3,5 @@ see android_webview_unittests_apk and AwMediaUrlInterceptorTest.
This is a text file, but we use the .ogg extension so that aapt will not
compress its contents. This is ok for the purpose of the unit tests since
they do not play the media, and they are only interested in the existance of
they do not play the media, and they are only interested in the existence of
an uncompressed media file in the assets directory.
......@@ -118,7 +118,7 @@ MaximizeModeController::MaximizeModeController()
// TODO(jonross): Do not create MaximizeModeController if the flag is
// unavailable. This will require refactoring
// IsMaximizeModeWindowManagerEnabled to check for the existance of the
// IsMaximizeModeWindowManagerEnabled to check for the existence of the
// controller.
if (IsEnabled()) {
ShellPort::Get()->AddDisplayObserver(this);
......
......@@ -272,7 +272,7 @@ void SampleVectorBase::MountCountsStorageAndMoveSingleSample() {
// Point |counts_| to the newly created storage. This is done while
// locked to prevent possible concurrent calls to CreateCountsStorage
// but, between that call and here, other threads could notice the
// existance of the storage and race with this to set_counts(). That's
// existence of the storage and race with this to set_counts(). That's
// okay because (a) it's atomic and (b) it always writes the same value.
set_counts(counts);
}
......
......@@ -232,7 +232,7 @@ class OAuth2Test : public OobeBaseTest {
// Wait for the session merge to finish.
WaitForMergeSessionCompletion(OAuth2LoginManager::SESSION_RESTORE_DONE);
// Check for existance of refresh token.
// Check for existence of refresh token.
ProfileOAuth2TokenService* token_service =
ProfileOAuth2TokenServiceFactory::GetForProfile(profile);
EXPECT_TRUE(token_service->RefreshTokenIsAvailable(account_id));
......@@ -459,7 +459,7 @@ class CookieReader : public base::RefCountedThreadSafe<CookieReader> {
// PRE_MergeSession is testing merge session for a new profile.
IN_PROC_BROWSER_TEST_F(OAuth2Test, PRE_PRE_PRE_MergeSession) {
StartNewUserSession(true);
// Check for existance of refresh token.
// Check for existence of refresh token.
std::string account_id = PickAccountId(profile(), kTestGaiaId, kTestEmail);
ProfileOAuth2TokenService* token_service =
ProfileOAuth2TokenServiceFactory::GetForProfile(
......
......@@ -15,7 +15,7 @@ class RegistryEntry;
// Windows 8 shows the "No apps are installed to open this type of link"
// dialog when choosing a default handler for a |protocol| under certain
// circumstances. Under these circumstances, it appears that ensuring the
// existance of the HKCU\Software\Classes\<protocol> key with an empty "URL
// existence of the HKCU\Software\Classes\<protocol> key with an empty "URL
// Protocol" value is sufficient to make the dialog contain the usual list of
// registered browsers. This class creates this key and value in its constructor
// if needed, and cleans them up in its destructor if no other values or subkeys
......
......@@ -98,7 +98,7 @@ class CHROMEOS_EXPORT StatisticsProvider {
bool load_oem_manifest) = 0;
// Returns true if the named machine statistic (e.g. "hardware_class") is
// found and stores it in |result| (if provided). Probing for the existance of
// found and stores it in |result| (if provided). Probing for the existence of
// a statistic by setting |result| to nullptr supresses the usual warning in
// case the statistic is not found. Safe to call from any thread except the
// task runner passed to Initialize() (e.g. FILE). This may block if called
......
......@@ -66,7 +66,7 @@ namespace password_manager {
//
// This is a very light-weight wrapper around an std::string containing the text
// of the URI, and can be passed around as a value. The main rationale for the
// existance of this class is to make it clearer in the code when a certain URI
// existence of this class is to make it clearer in the code when a certain URI
// is known to be a valid facet URI in canonical form, and to allow verifying
// and converting URIs to such canonical form.
//
......
......@@ -617,7 +617,7 @@ TEST_F(DeviceInfoSyncBridgeTest, MergeWithData) {
*bridge()->GetDeviceInfo(unique_remote.cache_guid()).get());
VerifyEqual(conflict_remote, *bridge()->GetDeviceInfo(conflict_guid).get());
// bridge should have told the processor about the existance of unique_local.
// bridge should have told the processor about the existence of unique_local.
EXPECT_TRUE(processor().delete_set().empty());
EXPECT_EQ(3u, processor().put_multimap().size());
EXPECT_EQ(1u, processor().put_multimap().count(unique_local.cache_guid()));
......
......@@ -43,7 +43,7 @@ std::string StringTypeToString(const base::FilePath::StringType& value) {
}
// Helper for checking the plugin private data for a specified origin and
// plugin for the existance of any file that matches the time range specified.
// plugin for the existence of any file that matches the time range specified.
// All of the operations in this class are done on the IO thread.
//
// This class keeps track of outstanding async requests it generates, and does
......
......@@ -204,7 +204,7 @@ bool IsGeneratedResourceAvailable(const std::string& resource_path) {
// files. If the bindings file doesn't exist assume we're on such a bot and
// pass.
// TODO(sky): remove this conditional when isolates support copying from gen.
base::ThreadRestrictions::ScopedAllowIO allow_io_for_file_existance_check;
base::ThreadRestrictions::ScopedAllowIO allow_io_for_file_existence_check;
const base::FilePath test_file_path(GetFilePathForJSResource(resource_path));
if (base::PathExists(test_file_path))
return true;
......
......@@ -27,7 +27,7 @@ class WebUIResourceBrowserTest : public ContentBrowserTest {
// Runs all test functions in |file|, waiting for them to complete.
void RunTest(const base::FilePath& file) {
{
base::ThreadRestrictions::ScopedAllowIO allow_io_for_file_existance_check;
base::ThreadRestrictions::ScopedAllowIO allow_io_for_file_existence_check;
ASSERT_TRUE(PathExists(file));
}
......
......@@ -211,12 +211,12 @@ public:
// Returns a ObjectProxy pointer for the given |object_path|. Unlike
// the equivalent method on Bus this will return NULL if the object
// manager has not been informed of that object's existance.
// manager has not been informed of that object's existence.
ObjectProxy* GetObjectProxy(const ObjectPath& object_path);
// Returns a PropertySet* pointer for the given |object_path| and
// |interface_name|, or NULL if the object manager has not been informed of
// that object's existance or the interface's properties. The caller should
// that object's existence or the interface's properties. The caller should
// cast the returned pointer to the appropriate type, e.g.:
// static_cast<Properties*>(GetProperties(object_path, my_interface));
PropertySet* GetProperties(const ObjectPath& object_path,
......
......@@ -43,7 +43,7 @@ class MEDIA_EXPORT AudioSystem {
virtual ~AudioSystem();
// Callback may receive invalid parameters, it means the specified device is
// not found. This is best-effort: valid parameters do not guarantee existance
// not found. This is best-effort: valid parameters do not guarantee existence
// of the device.
// TODO(olka,tommi): fix all AudioManager implementations to return invalid
// parameters if the device is not found.
......@@ -54,7 +54,7 @@ class MEDIA_EXPORT AudioSystem {
// If media::AudioDeviceDescription::IsDefaultDevice(device_id) is true,
// callback will receive the parameters of the default output device.
// Callback may receive invalid parameters, it means the specified device is
// not found. This is best-effort: valid parameters do not guarantee existance
// not found. This is best-effort: valid parameters do not guarantee existence
// of the device.
// TODO(olka,tommi): fix all AudioManager implementations to return invalid
// parameters if the device is not found.
......
......@@ -274,7 +274,7 @@ clean:
#
# Output will be places in a directory name based on Toolchain and configuration
# be default this will be "newlib/Debug". We use a python wrapped MKDIR to
# proivde a cross platform solution. The use of '|' checks for existance instead
# proivde a cross platform solution. The use of '|' checks for existence instead
# of timestamp, since the directory can update when files change.
#
%dir.stamp :
......
......@@ -5111,7 +5111,7 @@
For binary targets (source sets, executables, and libraries), the known file
types will be compiled with the associated tools. Unknown file types and
headers will be skipped. However, you should still list all C/C+ header files
so GN knows about the existance of those files for the purposes of include
so GN knows about the existence of those files for the purposes of include
checking.
As a special case, a file ending in ".def" will be treated as a Windows
......
......@@ -1715,7 +1715,7 @@ Sources for binary targets
For binary targets (source sets, executables, and libraries), the known file
types will be compiled with the associated tools. Unknown file types and
headers will be skipped. However, you should still list all C/C+ header files
so GN knows about the existance of those files for the purposes of include
so GN knows about the existence of those files for the purposes of include
checking.
As a special case, a file ending in ".def" will be treated as a Windows
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment