summaryrefslogtreecommitdiffstats
path: root/sync/internal_api
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 07:09:05 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-11 07:09:05 +0000
commitd84705568911597f344a21df5681aa2210a84355 (patch)
treef4d040954787d8937c4eb18709225c27775b275f /sync/internal_api
parent568dc083b5f7d407c1d638635a9ceca69e3b3216 (diff)
downloadchromium_src-d84705568911597f344a21df5681aa2210a84355.zip
chromium_src-d84705568911597f344a21df5681aa2210a84355.tar.gz
chromium_src-d84705568911597f344a21df5681aa2210a84355.tar.bz2
Remove #pragma once from sync
Review URL: https://chromiumcodereview.appspot.com/10700154 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146074 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api')
-rw-r--r--sync/internal_api/change_reorder_buffer.h1
-rw-r--r--sync/internal_api/js_mutation_event_observer.h1
-rw-r--r--sync/internal_api/js_sync_manager_observer.h1
-rw-r--r--sync/internal_api/public/base/enum_set.h1
-rw-r--r--sync/internal_api/public/base/model_type.h1
-rw-r--r--sync/internal_api/public/base/model_type_payload_map.h1
-rw-r--r--sync/internal_api/public/base/model_type_test_util.h1
-rw-r--r--sync/internal_api/public/base_node.h1
-rw-r--r--sync/internal_api/public/base_transaction.h1
-rw-r--r--sync/internal_api/public/configure_reason.h1
-rw-r--r--sync/internal_api/public/engine/model_safe_worker.h1
-rw-r--r--sync/internal_api/public/engine/passive_model_worker.h1
-rw-r--r--sync/internal_api/public/engine/polling_constants.h1
-rw-r--r--sync/internal_api/public/http_bridge.h1
-rw-r--r--sync/internal_api/public/http_post_provider_factory.h1
-rw-r--r--sync/internal_api/public/http_post_provider_interface.h1
-rw-r--r--sync/internal_api/public/read_node.h1
-rw-r--r--sync/internal_api/public/sessions/model_neutral_state.h1
-rw-r--r--sync/internal_api/public/sessions/sync_session_snapshot.h1
-rw-r--r--sync/internal_api/public/sessions/sync_source_info.h1
-rw-r--r--sync/internal_api/public/test/test_user_share.h1
-rw-r--r--sync/internal_api/public/user_share.h1
-rw-r--r--sync/internal_api/public/util/experiments.h1
-rw-r--r--sync/internal_api/public/util/immutable.h1
-rw-r--r--sync/internal_api/public/util/report_unrecoverable_error_function.h1
-rw-r--r--sync/internal_api/public/util/syncer_error.h1
-rw-r--r--sync/internal_api/public/util/unrecoverable_error_handler.h1
-rw-r--r--sync/internal_api/public/util/unrecoverable_error_info.h1
-rw-r--r--sync/internal_api/public/util/weak_handle.h1
-rw-r--r--sync/internal_api/public/write_node.h1
-rw-r--r--sync/internal_api/syncapi_server_connection_manager.h1
31 files changed, 0 insertions, 31 deletions
diff --git a/sync/internal_api/change_reorder_buffer.h b/sync/internal_api/change_reorder_buffer.h
index 81f4f6d..09aaf8e 100644
--- a/sync/internal_api/change_reorder_buffer.h
+++ b/sync/internal_api/change_reorder_buffer.h
@@ -8,7 +8,6 @@
#ifndef SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
#define SYNC_INTERNAL_API_CHANGE_REORDER_BUFFER_H_
-#pragma once
#include <map>
#include <vector>
diff --git a/sync/internal_api/js_mutation_event_observer.h b/sync/internal_api/js_mutation_event_observer.h
index 858c05f..91bf98b 100644
--- a/sync/internal_api/js_mutation_event_observer.h
+++ b/sync/internal_api/js_mutation_event_observer.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_
#define SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/js_sync_manager_observer.h b/sync/internal_api/js_sync_manager_observer.h
index 04eec48..e26c8f4 100644
--- a/sync/internal_api/js_sync_manager_observer.h
+++ b/sync/internal_api/js_sync_manager_observer.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_
#define SYNC_INTERNAL_API_JS_SYNC_MANAGER_OBSERVER_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/base/enum_set.h b/sync/internal_api/public/base/enum_set.h
index 2daf0845..85d9a54 100644
--- a/sync/internal_api/public/base/enum_set.h
+++ b/sync/internal_api/public/base/enum_set.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_ENUM_SET_H_
#define SYNC_INTERNAL_API_PUBLIC_BASE_ENUM_SET_H_
-#pragma once
#include <bitset>
#include <cstddef>
diff --git a/sync/internal_api/public/base/model_type.h b/sync/internal_api/public/base/model_type.h
index c8b1948..25baf6c 100644
--- a/sync/internal_api/public/base/model_type.h
+++ b/sync/internal_api/public/base/model_type.h
@@ -8,7 +8,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_MODEL_TYPE_H_
#define SYNC_INTERNAL_API_PUBLIC_BASE_MODEL_TYPE_H_
-#pragma once
#include <set>
#include <string>
diff --git a/sync/internal_api/public/base/model_type_payload_map.h b/sync/internal_api/public/base/model_type_payload_map.h
index da708f7..699b84b 100644
--- a/sync/internal_api/public/base/model_type_payload_map.h
+++ b/sync/internal_api/public/base/model_type_payload_map.h
@@ -6,7 +6,6 @@
#ifndef SYNC_INTERNAL_PUBLIC_API_BASE_MODEL_TYPE_PAYLOAD_MAP_H_
#define SYNC_INTERNAL_PUBLIC_API_BASE_MODEL_TYPE_PAYLOAD_MAP_H_
-#pragma once
#include <map>
#include <string>
diff --git a/sync/internal_api/public/base/model_type_test_util.h b/sync/internal_api/public/base/model_type_test_util.h
index 0bac4b7..cd347cb 100644
--- a/sync/internal_api/public/base/model_type_test_util.h
+++ b/sync/internal_api/public/base/model_type_test_util.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_PUBLIC_API_BASE_MODEL_TYPE_TEST_UTIL_H_
#define SYNC_INTERNAL_PUBLIC_API_BASE_MODEL_TYPE_TEST_UTIL_H_
-#pragma once
#include <ostream>
diff --git a/sync/internal_api/public/base_node.h b/sync/internal_api/public/base_node.h
index 7212927..8d66016 100644
--- a/sync/internal_api/public/base_node.h
+++ b/sync/internal_api/public/base_node.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_
#define SYNC_INTERNAL_API_PUBLIC_BASE_NODE_H_
-#pragma once
#include <string>
#include <vector>
diff --git a/sync/internal_api/public/base_transaction.h b/sync/internal_api/public/base_transaction.h
index 7781692..09cecda 100644
--- a/sync/internal_api/public/base_transaction.h
+++ b/sync/internal_api/public/base_transaction.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_
#define SYNC_INTERNAL_API_PUBLIC_BASE_TRANSACTION_H_
-#pragma once
#include "sync/internal_api/public/user_share.h"
diff --git a/sync/internal_api/public/configure_reason.h b/sync/internal_api/public/configure_reason.h
index be77472..1eefc72 100644
--- a/sync/internal_api/public/configure_reason.h
+++ b/sync/internal_api/public/configure_reason.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_
#define SYNC_INTERNAL_API_PUBLIC_CONFIGURE_REASON_H_
-#pragma once
namespace syncer {
diff --git a/sync/internal_api/public/engine/model_safe_worker.h b/sync/internal_api/public/engine/model_safe_worker.h
index 5c9c7ae..193e41d 100644
--- a/sync/internal_api/public/engine/model_safe_worker.h
+++ b/sync/internal_api/public/engine/model_safe_worker.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_
#define SYNC_INTERNAL_API_PUBLIC_ENGINE_MODEL_SAFE_WORKER_H_
-#pragma once
#include <map>
#include <string>
diff --git a/sync/internal_api/public/engine/passive_model_worker.h b/sync/internal_api/public/engine/passive_model_worker.h
index 1ef9864..ec257f63 100644
--- a/sync/internal_api/public/engine/passive_model_worker.h
+++ b/sync/internal_api/public/engine/passive_model_worker.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_PASSIVE_MODEL_WORKER_H_
#define SYNC_INTERNAL_API_PUBLIC_ENGINE_PASSIVE_MODEL_WORKER_H_
-#pragma once
#include "base/basictypes.h"
#include "base/compiler_specific.h"
diff --git a/sync/internal_api/public/engine/polling_constants.h b/sync/internal_api/public/engine/polling_constants.h
index 94b375b..bd40149 100644
--- a/sync/internal_api/public/engine/polling_constants.h
+++ b/sync/internal_api/public/engine/polling_constants.h
@@ -6,7 +6,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
#define SYNC_INTERNAL_API_PUBLIC_ENGINE_POLLING_CONSTANTS_H_
-#pragma once
namespace syncer {
diff --git a/sync/internal_api/public/http_bridge.h b/sync/internal_api/public/http_bridge.h
index 16d59d8..45dc487 100644
--- a/sync/internal_api/public/http_bridge.h
+++ b/sync/internal_api/public/http_bridge.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_
#define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/http_post_provider_factory.h b/sync/internal_api/public/http_post_provider_factory.h
index 8c5a991..dfb87a3 100644
--- a/sync/internal_api/public/http_post_provider_factory.h
+++ b/sync/internal_api/public/http_post_provider_factory.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_HTTP_POST_PROVIDER_FACTORY_H_
#define SYNC_INTERNAL_API_PUBLIC_HTTP_POST_PROVIDER_FACTORY_H_
-#pragma once
namespace syncer {
diff --git a/sync/internal_api/public/http_post_provider_interface.h b/sync/internal_api/public/http_post_provider_interface.h
index 3f5e74e..c703e30 100644
--- a/sync/internal_api/public/http_post_provider_interface.h
+++ b/sync/internal_api/public/http_post_provider_interface.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_HTTP_POST_PROVIDER_INTERFACE_H_
#define SYNC_INTERNAL_API_PUBLIC_HTTP_POST_PROVIDER_INTERFACE_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/read_node.h b/sync/internal_api/public/read_node.h
index f253fc3..358a529 100644
--- a/sync/internal_api/public/read_node.h
+++ b/sync/internal_api/public/read_node.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_READ_NODE_H_
#define SYNC_INTERNAL_API_PUBLIC_READ_NODE_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/sessions/model_neutral_state.h b/sync/internal_api/public/sessions/model_neutral_state.h
index d9d53ab..a9c1c44 100644
--- a/sync/internal_api/public/sessions/model_neutral_state.h
+++ b/sync/internal_api/public/sessions/model_neutral_state.h
@@ -4,7 +4,6 @@
#ifndef SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H
#define SYNC_SESSIONS_MODEL_NEUTRAL_STATE_H
-#pragma once
#include "base/basictypes.h"
#include "sync/internal_api/public/util/syncer_error.h"
diff --git a/sync/internal_api/public/sessions/sync_session_snapshot.h b/sync/internal_api/public/sessions/sync_session_snapshot.h
index 7c88753..6891145 100644
--- a/sync/internal_api/public/sessions/sync_session_snapshot.h
+++ b/sync/internal_api/public/sessions/sync_session_snapshot.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_
#define SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SESSION_SNAPSHOT_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/sessions/sync_source_info.h b/sync/internal_api/public/sessions/sync_source_info.h
index 812afb7..4e5b264 100644
--- a/sync/internal_api/public/sessions/sync_source_info.h
+++ b/sync/internal_api/public/sessions/sync_source_info.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SOURCE_INFO_H_
#define SYNC_INTERNAL_API_PUBLIC_SESSIONS_SYNC_SOURCE_INFO_H_
-#pragma once
#include "base/basictypes.h"
#include "sync/internal_api/public/base/model_type.h"
diff --git a/sync/internal_api/public/test/test_user_share.h b/sync/internal_api/public/test/test_user_share.h
index 0fb1503..7ce6ff8 100644
--- a/sync/internal_api/public/test/test_user_share.h
+++ b/sync/internal_api/public/test/test_user_share.h
@@ -29,7 +29,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_TEST_TEST_USER_SHARE_H_
#define SYNC_INTERNAL_API_PUBLIC_TEST_TEST_USER_SHARE_H_
-#pragma once
#include "base/basictypes.h"
#include "sync/internal_api/public/user_share.h"
diff --git a/sync/internal_api/public/user_share.h b/sync/internal_api/public/user_share.h
index 008755d..af4e231e 100644
--- a/sync/internal_api/public/user_share.h
+++ b/sync/internal_api/public/user_share.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_USER_SHARE_H_
#define SYNC_INTERNAL_API_PUBLIC_USER_SHARE_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/util/experiments.h b/sync/internal_api/public/util/experiments.h
index b1c1817..7cea6d6 100644
--- a/sync/internal_api/public/util/experiments.h
+++ b/sync/internal_api/public/util/experiments.h
@@ -4,7 +4,6 @@
#ifndef SYNC_UTIL_EXPERIMENTS_
#define SYNC_UTIL_EXPERIMENTS_
-#pragma once
#include "sync/internal_api/public/base/model_type.h"
diff --git a/sync/internal_api/public/util/immutable.h b/sync/internal_api/public/util/immutable.h
index 1742c0e..290f130 100644
--- a/sync/internal_api/public/util/immutable.h
+++ b/sync/internal_api/public/util/immutable.h
@@ -64,7 +64,6 @@
#ifndef SYNC_UTIL_IMMUTABLE_H_
#define SYNC_UTIL_IMMUTABLE_H_
-#pragma once
// For std::swap().
#include <algorithm>
diff --git a/sync/internal_api/public/util/report_unrecoverable_error_function.h b/sync/internal_api/public/util/report_unrecoverable_error_function.h
index a6aec0f2..c0686ca 100644
--- a/sync/internal_api/public/util/report_unrecoverable_error_function.h
+++ b/sync/internal_api/public/util/report_unrecoverable_error_function.h
@@ -4,7 +4,6 @@
#ifndef SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
#define SYNC_UTIL_REPORT_UNRECOVERABLE_ERROR_FUNCTION_H_
-#pragma once
namespace syncer {
diff --git a/sync/internal_api/public/util/syncer_error.h b/sync/internal_api/public/util/syncer_error.h
index f895066..3dd4dd0 100644
--- a/sync/internal_api/public/util/syncer_error.h
+++ b/sync/internal_api/public/util/syncer_error.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_UTIL_SYNCER_ERROR_H_
#define SYNC_INTERNAL_API_PUBLIC_UTIL_SYNCER_ERROR_H_
-#pragma once
namespace syncer {
diff --git a/sync/internal_api/public/util/unrecoverable_error_handler.h b/sync/internal_api/public/util/unrecoverable_error_handler.h
index 82644ee..db2f2c0 100644
--- a/sync/internal_api/public/util/unrecoverable_error_handler.h
+++ b/sync/internal_api/public/util/unrecoverable_error_handler.h
@@ -4,7 +4,6 @@
#ifndef SYNC_UTIL_UNRECOVERABLE_ERROR_HANDLER_H_
#define SYNC_UTIL_UNRECOVERABLE_ERROR_HANDLER_H_
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/util/unrecoverable_error_info.h b/sync/internal_api/public/util/unrecoverable_error_info.h
index 912b51e..1fb9832 100644
--- a/sync/internal_api/public/util/unrecoverable_error_info.h
+++ b/sync/internal_api/public/util/unrecoverable_error_info.h
@@ -6,7 +6,6 @@
#define SYNC_UTIL_UNRECOVERABLE_ERROR_INFO_H_
// TODO(lipalani): Figure out the right location for this class so it is
// accessible outside of sync engine as well.
-#pragma once
#include <string>
diff --git a/sync/internal_api/public/util/weak_handle.h b/sync/internal_api/public/util/weak_handle.h
index 9441949..0103e4e 100644
--- a/sync/internal_api/public/util/weak_handle.h
+++ b/sync/internal_api/public/util/weak_handle.h
@@ -46,7 +46,6 @@
#ifndef SYNC_UTIL_WEAK_HANDLE_H_
#define SYNC_UTIL_WEAK_HANDLE_H_
-#pragma once
#include <cstddef>
diff --git a/sync/internal_api/public/write_node.h b/sync/internal_api/public/write_node.h
index 2965741..6231850 100644
--- a/sync/internal_api/public/write_node.h
+++ b/sync/internal_api/public/write_node.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_PUBLIC_WRITE_NODE_H_
#define SYNC_INTERNAL_API_PUBLIC_WRITE_NODE_H_
-#pragma once
#include <string>
#include <vector>
diff --git a/sync/internal_api/syncapi_server_connection_manager.h b/sync/internal_api/syncapi_server_connection_manager.h
index 4b15f72..37b6fed 100644
--- a/sync/internal_api/syncapi_server_connection_manager.h
+++ b/sync/internal_api/syncapi_server_connection_manager.h
@@ -4,7 +4,6 @@
#ifndef SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
#define SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
-#pragma once
#include <string>