chore: add ELECTRON_ prefix to C++ include guards (#31925)

This commit is contained in:
Milan Burda 2021-11-22 08:34:31 +01:00 committed by GitHub
parent 0865267387
commit c4ea33d1bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
358 changed files with 1080 additions and 1079 deletions

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_
#define SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_
#ifndef ELECTRON_SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_
#define ELECTRON_SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_
#include <memory>
#include <unordered_map>
@ -59,4 +59,4 @@ class ElectronSerialDelegate : public content::SerialDelegate {
} // namespace electron
#endif // SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_
#endif // ELECTRON_SHELL_BROWSER_SERIAL_ELECTRON_SERIAL_DELEGATE_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_
#define SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_
#ifndef ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_
#define ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_
#include <map>
#include <set>
@ -97,4 +97,4 @@ class SerialChooserContext : public KeyedService,
} // namespace electron
#endif // SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_
#endif // ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_
#define SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_
#ifndef ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_
#define ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
@ -39,4 +39,4 @@ class SerialChooserContextFactory : public BrowserContextKeyedServiceFactory {
} // namespace electron
#endif // SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_
#endif // ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTEXT_FACTORY_H_

View file

@ -2,8 +2,8 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#ifndef SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_
#define SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_
#ifndef ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_
#define ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_
#include <string>
#include <vector>
@ -72,4 +72,4 @@ class SerialChooserController final : public SerialChooserContext::PortObserver,
} // namespace electron
#endif // SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_
#endif // ELECTRON_SHELL_BROWSER_SERIAL_SERIAL_CHOOSER_CONTROLLER_H_