Reorgnize the platform-specific files

This commit is contained in:
Cheng Zhao 2018-01-10 14:45:42 +09:00
parent b2542a27c3
commit 5f1c76c688
7 changed files with 18 additions and 24 deletions

View file

@ -2,11 +2,12 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/api/atom_api_in_app_purchase.h"
#include <string>
#include <utility>
#include <vector>
#include "atom/browser/api/atom_api_in_app_purchase.h"
#include "atom/common/native_mate_converters/callback.h"
#include "native_mate/dictionary.h"

View file

@ -7,8 +7,8 @@
#include <string>
#include "atom/browser/in_app_purchase.h"
#include "atom/browser/in_app_purchase_observer.h"
#include "atom/browser/mac/in_app_purchase.h"
#include "atom/browser/mac/in_app_purchase_observer.h"
#include "native_mate/dictionary.h"
namespace mate {

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 ATOM_BROWSER_IN_APP_PURCHASE_H_
#define ATOM_BROWSER_IN_APP_PURCHASE_H_
#ifndef ATOM_BROWSER_MAC_IN_APP_PURCHASE_H_
#define ATOM_BROWSER_MAC_IN_APP_PURCHASE_H_
#include <string>
@ -27,4 +27,4 @@ void PurchaseProduct(const std::string& productID,
} // namespace in_app_purchase
#endif // ATOM_BROWSER_IN_APP_PURCHASE_H_
#endif // ATOM_BROWSER_MAC_IN_APP_PURCHASE_H_

View file

@ -2,7 +2,8 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/in_app_purchase.h"
#include "atom/browser/mac/in_app_purchase.h"
#include "base/bind.h"
#include "base/strings/sys_string_conversions.h"
#include "content/public/browser/browser_thread.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 ATOM_BROWSER_IN_APP_PURCHASE_OBSERVER_H_
#define ATOM_BROWSER_IN_APP_PURCHASE_OBSERVER_H_
#ifndef ATOM_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_
#define ATOM_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_
#include <string>
@ -38,4 +38,4 @@ void AddTransactionObserver(const InAppTransactionCallback& callback);
} // namespace in_app_purchase
#endif // ATOM_BROWSER_IN_APP_PURCHASE_OBSERVER_H_
#endif // ATOM_BROWSER_MAC_IN_APP_PURCHASE_OBSERVER_H_

View file

@ -2,7 +2,8 @@
// Use of this source code is governed by the MIT license that can be
// found in the LICENSE file.
#include "atom/browser/in_app_purchase_observer.h"
#include "atom/browser/mac/in_app_purchase_observer.h"
#include "base/bind.h"
#include "base/strings/sys_string_conversions.h"
#include "content/public/browser/browser_thread.h"