Skip to content

Commit

Permalink
[spelling] existance to existence
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
dschuyler authored and Commit Bot committed Jun 9, 2017
1 parent db6f4d7 commit 1185773
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion android_webview/test/unittest/assets/asset_file.ogg
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion ash/wm/maximize_mode/maximize_mode_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion base/metrics/sample_vector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
4 changes: 2 additions & 2 deletions chrome/browser/chromeos/login/signin/oauth2_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion chrome/installer/util/scoped_user_protocol_entry.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion chromeos/system/statistics_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()));
Expand Down
2 changes: 1 addition & 1 deletion content/browser/plugin_private_storage_helper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion content/browser/webui/web_ui_mojo_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion content/test/webui_resource_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down
4 changes: 2 additions & 2 deletions dbus/object_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ class CHROME_DBUS_EXPORT ObjectManager

// 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,
Expand Down
4 changes: 2 additions & 2 deletions media/audio/audio_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion native_client_sdk/src/tools/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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 :
Expand Down
2 changes: 1 addition & 1 deletion tools/gn/docs/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tools/gn/variables.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1185773

Please sign in to comment.